Support » Plugin: Preserved HTML Editor Markup Plus » Tag attribute in a new line – Broken after preview WYSIWYG editor. (–mep-nl–)

  • Hi.

    First of all thank you for your great plugin. It’s really useful.

    I found a bug if I organize tag attributes in new lines. After switching to the WYSIWYG editor the tag contains the string “–mep-nl–” and is broken.

    <img src="test.png"
          alt="test"
          width="150"
          height="84"
          class="test" />

    After preview in WYSIWYG editor:

    <img src="test.png" --mep-nl--="" />     alt="test"
         width="150"
         height="84"
         class="test" />

    I hope, this is easily fixable.

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author J-Ro

    (@j-ro)

    Hi there, this is something that would be a bit tricky to fix, given how HTML and regex works, or doesn’t in this case. Feel free to submit a pull request over on the github repo if you’d like to take a stab at it, but this isn’t something that I’ll be able to fix unfortunately.

    https://github.com/j-ro/Preserved-HTML-Editor-Markup

Viewing 1 replies (of 1 total)
  • The topic ‘Tag attribute in a new line – Broken after preview WYSIWYG editor. (–mep-nl–)’ is closed to new replies.