According to Manual:Table of contents: "All HTML in the headings is stripped in the TOC, except <sup>, <sub>, <i>, <b>, <span dir="rtl">, <span dir="ltr">"
q tag should be added to exceptions so quotes can appear in the table of contents of an article.