Hello all,
when converting following HTML snippet to XWiki 2.1 syntax, the table will be broken. If the span has no attributes, the table is as expected. Why is that?
<table border="1">
<tr>
<td>var</td>
<td><span style="color: #0000ff;">asdf<br/></span></td>
</tr>
<tr>
<td>bar</td>
<td>function</td>
</tr>
</table>
(% border="1" %)
|var|(%%)(% style="color: #0000ff;" %)asdf
|bar|function
without style="color: #0000ff;"
:
(% border="1" %)
|var|asdf\\
|bar|function
and it is also okay if you add some text between <br/>
and </span>
:
(% border="1" %)
|var|(%%)(% style="color: #0000ff;" %)asdf
foo
|bar|function
so it seems like the escaping of newline is lost when an attribute is present
1 post - 1 participant