4

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.

vicvicvic
  • 6,025
  • 4
  • 38
  • 55

2 Answers2

0

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.

vicvicvic
  • 6,025
  • 4
  • 38
  • 55
0

RedCloth does not get hex values in html entities, but others, like   or € are processed properly.

khustochka
  • 2,346
  • 20
  • 29