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

no support for html entities #13

Open
apprehensions opened this issue Mar 28, 2023 · 3 comments
Open

no support for html entities #13

apprehensions opened this issue Mar 28, 2023 · 3 comments

Comments

@apprehensions
Copy link

https://www.w3schools.com/html/html_entities.asp

it will be interpreted as · -> ·

@karlb
Copy link
Owner

karlb commented Mar 30, 2023

I can confirm that HTML that this happens and is contrary to CommonMark, see https://spec.commonmark.org/0.30/#entity-and-numeric-character-references.

What do you mean with "HTML codes"? Using HTML tags is possible, e.g.

$ echo '<b>foo</b>' | smu
<p><b>foo</b></p>

@apprehensions
Copy link
Author

what do you mean by both if what you said? I would simply want to use &middot; along with html code &#361; (example)

@karlb karlb changed the title no support for html entities and html codes no support for html entities Mar 30, 2023
@karlb
Copy link
Owner

karlb commented Mar 30, 2023

Understood, it is all about HTML entities, both named (&middot;) and numeric (&#361;)

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

2 participants