Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only aware of the numeric versions of some entities #49

Open
jidanni opened this issue Oct 2, 2024 · 2 comments
Open

Only aware of the numeric versions of some entities #49

jidanni opened this issue Oct 2, 2024 · 2 comments

Comments

@jidanni
Copy link

jidanni commented Oct 2, 2024

https://www.compart.com/en/unicode/U+2588 says this character is █

Alas,

$ echo █|perl -C -MHTML::Entities -nwle 'print encode_entities $_;'
█

the module is only aware of the numeric version.

Package: libhtml-parser-perl
Version: 3.83-1

@haarg
Copy link
Member

haarg commented Oct 2, 2024

I believe the current list of named entities is from HTML4.

The full list for HTML5: https://html.spec.whatwg.org/multipage/named-characters.html

@oalders
Copy link
Member

oalders commented Oct 2, 2024

See also #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants