You are here: Foswiki>Tasks Web>Item11872 (02 Dec 2012, GeorgeClark)Edit Attach

Item11872: WysiwygPlugin interleaves
tags between

paragraph tabs. This is not legal xhtml.

pencil
Priority: Urgent
Current State: Closed
Released In: 1.1.6
Target Release: patch
Applies To: Extension
Component: WysiwygPlugin
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
See Support.Question1090

The generated HTML from WysiwygPlugin/TML2HTML.pm interleaves the <div> tags with paragraph tags. TinyMCE detects this as invalid HTML and auto-closes the <div>

<p><div class="jqTreeview TMLhtml">
</p>
<ul>
<li> list
<ul>
<li> item
</li>
</ul>
</li>
</ul>
<p></div>
</p>

I have a fix.


Reopening, The fix didn't cover the closing div tags which were also wrapped. And blockquote has the same issue.

-- GeorgeClark - 18 May 2012
Topic revision: r17 - 02 Dec 2012, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy