Open
Description
QTads 3.3.0 unpredictably indents lines with leading spaces in pre
elements.
bug.zip contains a T3 image and its source code. The important part of the source code is:
showIntro
{
"<pre>";
" <font color=#19177C>aaaaaaaaaaa</font> a <font color=#BA2121>aaaaaa aaaaaaa</font><b><font color=#AA5D1F>a</font></b><b><font color=#008000>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</font></b><font color=#BA2121>'</font><br>";
" <font color=#19177C>aaaa</font> a <font color=#BA2121>aaaa aaaaaa aa aaaaaaaaaa a aaaaaaaaaaaa aaa aaaa aaaaaaaa aaaaaaa</font><br>";
"</pre>";
}
In QTads, the second line is only indented one space. Compare FrobTADS and the Web UI, which display it properly with both lines indented by four spaces.
Changing the first line’s apostrophe from '
to the HTML entity '
fixes the indentation in QTads. Alternatively, changing the game’s name from “The Bug Demo” to “Bug Demo” also fixes the indentation. It is unclear why either change would have any effect on the indentation of the second line.
Metadata
Metadata
Assignees
Labels
No labels