!! test
div inside pre
!! options
disabled
!! input
 test <div>this</div>
 thing
!! result
 test 
<div>
  this
</div><pre>
thing
</pre>
!! end

!! test
first line lonely comment does not strip newline
!! input
<!--test-->

a
!! result
<p><br/>
a
</p>
!! end

!! test
second line lonely comment does strip newline
!! input

<!--test-->
a
!! result
<p>a
</p>
!! end

!! test
attribute values do not respect bol_skip
!! input
*<b id="start
end">test</b>
*this
!! result
<ul><li><b id="start_end">
test
</b></li><li>
this
</li></ul>
!! end

!! article
Template:wsarg
!! text
{{{ foo }}}
!! endarticle

!! test
template argument name must be trimmed
!! input
{{wsarg|foo=bar}}
!! result
<p>bar
</p>
!! end

!! test
whitespace in tr and table elements
!! input
  <table>
  <tr><th>x</th>
  </tr>
  </table>
!! result
<table><tr><th>x</th></tr></table>
!! end

!! test
nowiki pseudo-element inside attribute
!! input
<div class="foo<nowiki> </nowiki>bar">baz</div>
!! result
<div class="foo bar">baz</div>
!! end
