Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.0 B5
-
None
-
XWiki 1.0 beta 5 (and svn trunk), Tomcat 5.5.20, IBM JDK 1.5.0.4, Mysql 5.0, Gentoo 2006.1
-
style macro, wysiwyg, editor
-
Description
When processing an existing page with a div after a velocity comment, the WYSIWYG editor will place the
{style} macro on the same line as the comment, so the {style}section will be ignored:
A page such as:
##comment line 1
<div style="background-color: red">
red section
##comment line 2
</div>
##comment line 3
<div style="background-color: blue">
blue section
##comment line 4
</div>
Will be convered to:
##comment line 1
{style:type=div|background-color=red}red section
##comment line 2 {style}
##comment line 3
{style:type=div|background-color=blue}blue section
##comment line 4 {style}