HTML entities in Textile
-
15-04-2021 - |
سؤال
HTML entities are not displayed correctly in Textile because the ampersand is converted into &
by the system. Is there any way to input e.g. ⌘
and actually get ⌘?
Wrapping the entity in ==⌘==
does disable Textile processing for that block. Maybe that's as good as it gets?
I'm using RedCloth.
المحلول
After having had a look through RedCloth sources, there does not seem to be a way of doing this.
Maybe it's as well, on second thought: Textile is not necessarily meant to output HTML, but HTML entities are entirely an HTML solution. I'll just input funky characters directly.
نصائح أخرى
RedCloth does not get hex values in html entities, but others, like
or €
are processed properly.
لا تنتمي إلى StackOverflow