Table of Contents link drops character when a "$" is part of it
Closed this issue · 1 comments
stevegrunwell commented
When parsing the headings out of a document, a "$" (dollar sign) character in a headline is resulting in the rest of that word missing in the anchor link.
Example:
<h2>Get started for just $5 today!</h2>
Would render as:
- Get started for just $today
Screenshot of behavior:
Props to @dangreenoh for catching this!
stevegrunwell commented
It turns out this bug was the result of a callback applied via growella_table_of_contents_link_anchor_text
that was specific to the Growella theme, not this plugin.