I am now going to write some text. I will first hit return. Then I choose the VERBATIM style. Then I type including typing some new lines. At the end I move the cursor after the verbatim area and write hello. If the bug manifest itself I see verbatims on each and every line instead of one set around the entire area
Here I type in verbatim And this is next line And now I write some <br> <b> tags </b>. Trying to write the literal0 Last line of verbatim
And now I stepped out of the verbatim area.
The thing to look for now is that each line has their own verbatim start end. That is wrong. It creates line distance which is wrong.
Tested in IE6 / Win XP sp2 / MAIN branch
--
TWiki:Main/KennethLavrsen
- 23 Sep 2007
Yes the verbatims are all wrong.
--
TWiki:Main/KennethLavrsen
- 23 Sep 2007
Same in FF
--
TWiki:Main.KennethLavrsen
- 23 Sep 2007
Unfortunately this is due to the way
TinyMCE works (and if it was just editing HTML, what it does would be just fine. The only solution I have to this is to collapse adjacent verbatim sections together; this is something i tried, but had such problems with that I removed it again. Perhaps it is time to try again.
Note that your example above illustrates another problem; that literal tags embedded in a verbatim region get interpreted.
CC
Bloody hell, that was a lot harder to fix than it ought to have been.
CC
Do not close until merged into
TWikiRelease04x02 branch.
And please merge right away when you check in. All we should care about right now is 4.2.0 and that is all I test at the moment.
I know that you started a discussion about refactoring subversion but please defer any such activities until 4.2.0 is out. We have to focus on 4.2.0 now. The urgent bug backlog is record high again.
KJL