mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 15:24:14 +08:00
37 lines
399 B
HTML
37 lines
399 B
HTML
|
<!--
|
||
|
Changed for Discourse:
|
||
|
|
||
|
- Our HTML sanitizer removes the style tag
|
||
|
- It removes id and classes.
|
||
|
-->
|
||
|
<p>Simple block on one line:</p>
|
||
|
|
||
|
<div>foo</div>
|
||
|
|
||
|
<p>And nested without indentation:</p>
|
||
|
|
||
|
<div>
|
||
|
<div>
|
||
|
<div>
|
||
|
foo
|
||
|
</div>
|
||
|
<div></div>
|
||
|
</div>
|
||
|
<div>bar</div>
|
||
|
</div>
|
||
|
|
||
|
<p>And with attributes:</p>
|
||
|
|
||
|
<div>
|
||
|
<div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<p>This was broken in 1.0.2b7:</p>
|
||
|
|
||
|
<div>
|
||
|
<div>
|
||
|
foo
|
||
|
</div>
|
||
|
</div>
|