authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-04-25 17:07:57 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-04-25 17:07:57 -07:00
log9456af43d671a899ff5725f99e5186040fff094f
tree633b77bb3a3f25cc252aefa44e6771816f9c5193
parentca41fc8f0a6abf964e99089777fc7b6953c09e14

still check for single character escapes


1 files changed, 1 insertions(+), 1 deletions(-)

src/lib.zig+1-1
...@@ -224,7 +224,7 @@ fn entityLookupBefore(in: string) ?htmlentities.Entity {...@@ -224,7 +224,7 @@ fn entityLookupBefore(in: string) ?htmlentities.Entity {
224 '%',224 '%',
225 '+',225 '+',
226 => return null,226 => return null,
227 else => break,227 else => {},
228 }228 }
229 }229 }
230 if (std.mem.eql(u8, e.characters, in)) {230 if (std.mem.eql(u8, e.characters, in)) {