htmlentities icon indicating copy to clipboard operation
htmlentities copied to clipboard

Typo in files: "subE" is ⫅, not ⊆

Open da99 opened this issue 7 years ago • 1 comments

Line 16 in test/expanded_test.rb: ['subE', 0x2286, nil, "skip", "⊆", ], The decoded char is supposed to be:

Line 655 in lib/htmlentities/mappings/expanded.rb: 'subE' => 0x2286, # ⊆ should be 'subE' => 0x2ac5, # ⫅

I found this using this C-based parser: https://github.com/lexborisov/myhtml Maybe you can use it as a C extension in the htmlentities gem.

da99 avatar Sep 20 '17 19:09 da99

relevant information: is ⊆ ⊆ ⊆ https://www.compart.com/en/unicode/U+2286 is ⫅ ⫅ ⫅ https://www.compart.com/en/unicode/U+2AC5

jcsrb avatar Jun 17 '20 18:06 jcsrb