Cite tag considered block/undisplayed
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
Because the cite tag is listed in the pregreplace for block/undisplayed
content, spaces before cite tags are removed.
Are you sure this is not a problem with your configuration? (ask on the
Google Group) Yes
Minify commit/version: Current
PHP version: Doesn't matter
What steps will reproduce the problem?
1. Using a <cite> tag per w3.org HTML5 spec
(http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-cite
-element)
Code:
<p>Fizz-pop band Eternal Summers is following up 2012′s <cite>Correct
Behavior</cite> with <cite>Beneath The Drop</cite>, out March 4 via Kanine.<p>
Expected output:
Fizz-pop band Eternal Summers is following up 2012′s Correct Behavior with
Beneath The Drop, out March 4 via Kanine.
Actual output:
Fizz-pop band Eternal Summers is following up 2012′sCorrect Behavior
withBeneath The Drop, out March 4 via Kanine.
Original issue reported on code.google.com by dvelasq...@cmj.com
on 13 Jan 2014 at 7:38
Google Code Exporter commented
Thanks. Can you try this change? https://github.com/mrclay/minify/pull/86/files
Original comment by mrclay....@gmail.com
on 13 Jan 2014 at 9:52
- Changed state: Started
Google Code Exporter commented
Perfect! thanks!
Original comment by dvelasq...@cmj.com
on 13 Jan 2014 at 10:00