Author: wiki.warx
Description:
assume there is template named color with content #002255 (normal color definition) if its transcluded this way:
<span style="color:{{color}}"></span>
It works perfectly - it gives
<span style="color: #002255;">test</span>
But if you use it in a table (or anywhere else not inside tag attribute) it crashes:
{| style="color:{{color}};" |- | test |- |}
gives:
<table> <ol><li>002255;" </li></ol> <tr> <td> test </td></tr> </table>
same:
<p>test {{color}} test</p>
gives:
<p>test <ol><li>002255 test</p> </li></ol>
This has even broken tag nesting!!!
Version: unspecified
Severity: major
URL: http://test.wikipedia.org/wiki/Newline_through_parser_functions
See Also: T25674