View Single Post
Old 03-30-2016, 07:52 PM   #53
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,698
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Ah ... I may be on to something. I can get just:
Code:
'circa 1050<small>BC</small>'
to make the final quote backwards, but that code by itself isn't valid xhtml. It has to exist as part of another block element (the beginning and and end of which I'm not seeing).

Would it be possible to see the entire <p>, <div>, or <blockquote> that that passage is a part of?

For instance:
<p>'circa 1050<small>BC</small>'</p>
Works just fine.

But SmartyPants does seem to be more prone to errors with the British style of quotation (single) VS the American style. Which would explain why I rarely run into the error.

I'll take a look and see if anything can be done about it, but my plugin truly is just a wrapper around someone else's smartening algorithm. I've made a few tweaks to it (such as the apostrophe exception file) ... perhaps those tweaks have broken something in the single-quote logic.
DiapDealer is online now   Reply With Quote