• Resolved FabriceN

    (@fabricen)


    Hi,
    Thank you for this indispensable plugin !!

    I have just a question about br tags.
    When i write the html like this in your editor :

    <span>text1</span>
    <span>text2</span>

    In the final render page, I have an unintended
    </br> installed between the 2 span.

    But it disapear when i whrite the html like this :

    <span>text1</span><span>text2</span>

    for reasons of clarity i prefer (i need) to whrite each line one below the other and not following.

    How can i delete the br tags unintended ?

    Thanks you

    https://www.ads-software.com/plugins/html-editor-syntax-highlighter/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Peter Mukhortov

    (@nixdns)

    Hi,
    This behavior of the WP content processing and has no connection to the plugin. You will get the same result if you disable it. You get
    with one line feed and <p> with two.

    Thread Starter FabriceN

    (@fabricen)

    yes thank you for the comment.
    I have found this to add to the functions.php to delete the automatic p and br tags :

    remove_filter(‘the_content’, ‘wpautop’);

    If this can help anyone ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘br tag added’ is closed to new replies.