Skip to content

Commit a858b82

Browse files
committed
fix: Unicode escape sequences with lower case are processed incorrenly in the content property
1 parent 4f6952a commit a858b82

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/el_before_after.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void litehtml::el_before_after_base::add_text( const string& txt )
8585
for(auto chr : txt)
8686
{
8787
if(chr == '\\' ||
88-
!esc.empty() && esc.length() < 5 && (chr >= '0' && chr <= '9' || chr >= 'A' && chr <= 'Z' || chr >= 'z' && chr <= 'z'))
88+
!esc.empty() && esc.length() < 5 && (chr >= '0' && chr <= '9' || chr >= 'A' && chr <= 'Z' || chr >= 'a' && chr <= 'z'))
8989
{
9090
if(!esc.empty() && chr == '\\')
9191
{

0 commit comments

Comments
 (0)