• zoulou33

    (@zoulou33)


    Everyone can test it, enter into your wordpress page:
    <?php echo '<label>Test</label><input type="radio" value="Test" />';?>

    Save and go the page and for inot the code, you see :

    <label>Test</label><br />
    <input  type="radio" value="Test" />

    Notice the added <br /> that ruined the css layout…

    https://www.ads-software.com/extend/plugins/exec-php/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter zoulou33

    (@zoulou33)

    Ok I find that it was wordpress the problem… you have to install the plugin disabel-wpautop toprevent worpress to format your code…

    The wpautop filter changes BR and P tags.

    To force a line break, use this:

    <br clear="none" />

    Valid? I don’t know, but wpautop ignores it. That’s pretty easy relief!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Exec-PHP] Bug : automatically add </br> or </p> to my code…’ is closed to new replies.