Open dwhieb opened 11 months ago
Some of my headings have inline HTML to italicize certain words. These tags are stripped from the heading before the TOC renders. Is it possible to retain the inline tags?
Input: # Future Tense: *will* Expected Output: <li><a href=#future-tense-will>Future Tense: <em>will</em></a></li> Actual Output: <li><a href=#future-tense-will>Future Tense: will</a></li>
# Future Tense: *will*
<li><a href=#future-tense-will>Future Tense: <em>will</em></a></li>
<li><a href=#future-tense-will>Future Tense: will</a></li>
Some of my headings have inline HTML to italicize certain words. These tags are stripped from the heading before the TOC renders. Is it possible to retain the inline tags?
Input:
# Future Tense: *will*
Expected Output:<li><a href=#future-tense-will>Future Tense: <em>will</em></a></li>
Actual Output:<li><a href=#future-tense-will>Future Tense: will</a></li>