mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 20:23:44 +08:00
9460ed1b60
Found with rpmlint.
55 lines
448 B
Plaintext
55 lines
448 B
Plaintext
Here's a simple block:
|
|
|
|
<div>
|
|
foo
|
|
</div>
|
|
|
|
This should be a code block, though:
|
|
|
|
<div>
|
|
foo
|
|
</div>
|
|
|
|
As should this:
|
|
|
|
<div>foo</div>
|
|
|
|
Now, nested:
|
|
|
|
<div>
|
|
<div>
|
|
<div>
|
|
foo
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
This should just be an HTML comment:
|
|
|
|
<!-- Comment -->
|
|
|
|
Multiline:
|
|
|
|
<!--
|
|
Blah
|
|
Blah
|
|
-->
|
|
|
|
Code block:
|
|
|
|
<!-- Comment -->
|
|
|
|
Just plain comment, with trailing spaces on the line:
|
|
|
|
<!-- foo -->
|
|
|
|
Code:
|
|
|
|
<hr />
|
|
|
|
Hr's:
|
|
|
|
<hr>
|
|
|
|
<hr class="foo" id="bar">
|