Search code examples
html-entitiestextileredcloth

HTML entities in Textile


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.


Solution

  • 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.