soyturk / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Cite tag considered block/undisplayed #305

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Perfect! thanks!

Original comment by dvelasq...@cmj.com on 13 Jan 2014 at 10:00