Wysqwig plugin and
TinyMCE editor still scrambles some topics, even when
tags are used to protect sections of the topic.
- < and > markup is changed to span tags. Causes the enclosed
dot
tag to be interpreted.
- verbatim tag inside a sticky block is changed to verbatim missing the leading less-than and followed by hex characters EF.BF.BD
- explicit html break tags are removed from inside sticky blocks
- text within a
pre
block is all run together
-
nbsp
is removed
To recreate, edit the DirectedGraphPlugin topic and save it without making any changes. Attached is a "diff" of the changes made after a simple edit/save. Note that the DirectedGraphPlugin does not need to be installed to observe the issues.
(Running from SVN rev 16300)
- DGP-diff.txt: diff excluding whitespace changes after Wysiwyg edit
-- TWiki:Main/GeorgeClark
- 27 Jan 2008
The <dot> ( dot-in-angle-brackets ) issue is generic to 4.2.0 WYSIWYG edits of <enter> ( enter-in-angle-brackets ) -- they don't survive round trips through a WYSIWYG edit.
Also &2013; becomes %2013 for some reason in 4.2.0.
We are running off the-shelve Twiki 4.2.0 + late January TinyMCE (TWiki-4, $Rev: 16290 (25 Jan 2008) $) and Wysiwyg plugins (TWiki-4.2, $Rev: 16350 (06 Feb 2008) $) as suggested in Known Issues and additionally TWikiDraw plugin Dakar, 8154
-- TWiki:Main.RichardPenner
- 27 Feb 2008
I suppose this is variation of this bug, but a rather bad one. Editing TWikiPreferences causes some problems. For example, it insert a couple of spaces after setting for ICONTOPIC
resulting in all the skin icons being broken. Don't know yet what other mischief it causes.
-- TWiki:Main.LynnwoodBrown
- 29 Feb 2008
Can you please provide step-by-step instructions on how to reproduce this problem. 90% of the time spent on fixing bugs is in trying to build a testcase that reproduces the problem, so step-by-step would be very helpful, thanks.
CC
No worries, I have seen the angle-brace problem myself. Confirmed.
Mostly this is due to two issues; first, that verbatim and literal tags have higher priority than sticky, which is clearly a mistake. And second, that angle brackets are being mishandled, due to the fix for
Item5179. The problem with newlines in pre blocks is specifically tracked in
Item5337 and appears to be a bug in Tiny MCE, or perhaps in the browser.
Fixed all (I think) except the space-in-pre issue, which is tracked in
Item5337. Merged to
TWikiRelease04x02.
--
CrawfordCurrie - 28 Mar 2008