Support » Plugin: Raw HTML » Bug : end tag p added after

  • Hello,

    I used this plugin because of parasite p tag in my outputed code. I was happy but I wanted validate my site and there, I notice the plugin generate a p end tag after the end_raw tag.
    How to fix it ? I use the HTML editor in wordpress.

Viewing 1 replies (of 1 total)
  • Plugin Author Janis Elsts

    (@whiteshadow)

    It’s WordPress that generates those <p> tags. In most cases, you can avoid them by placing your content on the same line as the <!--end_raw--> tag, not on a new line.

    Will get a <p> tag:

    ...
    <!--end_raw-->
    Lorem ipsum...

    Shouldn’t get a <p> tag:

    ...
    <!--end_raw--> Lorem ipsum...
Viewing 1 replies (of 1 total)
  • The topic ‘Bug : end tag p added after’ is closed to new replies.