WordPress.org

Forums

WP Minify
Strange line breaking with xhtml (4 posts)

  1. publicradio
    Member
    Posted 3 years ago #

    When I use WP-Minify to compress my xhtml pages, I get line breaks in strange places. It seems to always create a line break before the slash on br elements, like so

    </div></div>

    It also breaks before attributes in tags, like so:


    <a
    name="contact" class="gone"> <div
    class="flex"><div
    id="second" class="third"><h3>Contact</h3><div
    class="textwidget">

    Why is this happening? Is it an XHTML-related problem?

    Thanks in advance.

    http://wordpress.org/extend/plugins/wp-minify/

  2. publicradio
    Member
    Posted 3 years ago #

    The forum seems to have stripped out by br tags. what I was trying to show was that the /> after the br tag in xhtml jumps to a new line when using wp-minify.

  3. delete delete
    Member
    Posted 3 years ago #

    same problem for me. any idea?

  4. belg4mit
    Member
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Minify
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags