Support » Plugin: W3 Total Cache » HTML minify strips surrounding whitespace from "cite"

  • Resolved Joe Hoyle

    (@joehoyle)


    HTML minify will strip white space from block / undisplayed elements, which is good, except <cite> (as far as I know) is neither of these, it’s an inline element. (Source: http://www.w3.org/TR/html401/struct/text.html#h-9.2.1)

    Which means doing this:

    From <cite>John Smith</cite> yesterday.

    Results in

    FromJohn Smith Yesterday

    This comes from Line 123 of /Minify/Minify/HTML.php (version 0.9.2.3)

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘HTML minify strips surrounding whitespace from "cite"’ is closed to new replies.