Closed erfaan closed 11 years ago
Lets assume following title:
"Jayhawks" & KU fans act extremely obnoxiously
After applying typogrify:
<span class="dquo">“</span>Jayhawks” <span class="amp">&</span> <span class="caps">KU</span> fans act extremely obnoxiously
Now this result cannot be used as an attribute to a tag. Take example from the simple template:
<h2 class="entry-title"> <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title}}">{{ article.title }}</a> </h2>
The result would be:
<h2 class="entry-title"> <a href="./somelink.html" rel="bookmark" title="Permalink to <span class="dquo">“</span>Jayhawks” <span class="amp">&</span> <span class="caps">KU</span> fans act extremely obnoxiously"> <span class="dquo">“</span>Jayhawks” <span class="amp">&</span> <span class="caps">KU</span> fans act extremely obnoxiously</a> </h2>
As you can see that the attribute title contains html within it which disturbs the output rendered.
Thank you for the bug report. Commit a0049f9 should address the errant behavior. If the problem persists, please re-open this issue and include detailed steps to reproduce.
Lets assume following title:
"Jayhawks" & KU fans act extremely obnoxiously
After applying typogrify:
Now this result cannot be used as an attribute to a tag. Take example from the simple template:
The result would be:
As you can see that the attribute title contains html within it which disturbs the output rendered.