trulia / hologram

A markdown based documentation system for style guides.
http://trulia.github.io/hologram
Other
2.16k stars 199 forks source link

Titles are treated as html and not text #179

Closed a5e closed 9 years ago

a5e commented 9 years ago

If there is a title like:

title: This is a example with a `<div>`

then an actual div starts in the title, anyway we can escape this in hologram with html_escape or is this wanted for another reason?

jdcantrell commented 9 years ago

You're right it should be escaped.

a5e commented 9 years ago

When using special characters in the title, the name is replaced by the title, breaking the anchors links. Do you want me to open another issue or is this related to this one ?