diff --git a/src/main/java/org/thymeleaf/aurora/text/LimitedSizeCacheTextRepository.java b/src/main/java/org/thymeleaf/aurora/text/LimitedSizeCacheTextRepository.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/thymeleaf/aurora/text/LimitedSizeCacheTextRepository.java
+++ b/src/main/java/org/thymeleaf/aurora/text/LimitedSizeCacheTextRepository.java
@@ -119,7 +119,7 @@ public final class LimitedSizeCacheTextRepository implements ITextRepository {
             return null;
         }
 
-        final int hashCode = text.hashCode();
+        final int hashCode = TextUtil.hashCode(text);
 
         this.readLock.lock();
Fixed use of hashCode on potentially-non-String CharSequences