typogruby icon indicating copy to clipboard operation
typogruby copied to clipboard

Insert wrapped quotes

Open avdgaag opened this issue 14 years ago • 2 comments

When filtering a document, typogruby may convert quotes to entities, but it fails to wrap them in <span class="dquo">.

avdgaag avatar Mar 09 '11 09:03 avdgaag

span.dquo is used for wrapping leading quotes so you can hang punctuation. It shouldn't wrap internal quote entities. Are you seeing this bug with leading quotes or internal quotes?

bobthecow avatar Mar 09 '11 19:03 bobthecow

I was incomplete in my description.

Given text like:

“Foo bar”

Typogruby gives us:

&ldquo;Foo bar&rdquo;

While I would expect:

<span class="dquo">&ldquo;</span>Foo bar&rdquo;

avdgaag avatar Mar 09 '11 19:03 avdgaag