Change-Id: I0f595f05057068e6459062fc8e8f9fad23021dec
</p>
!!end
-!! test
+!! test
Horizontal ruler (should it add that extra space?)
-!! input
+!! input
<hr>
<hr >
foo <hr
> bar
-!! result
+!! result
<hr />
<hr />
foo <hr /> bar
!! end
+!! test
+Horizontal ruler -- 4+ dashes render hr
+!! input
+----
+!! result
+<hr />
+
+!! end
+
+!! test
+Horizontal ruler -- eats additional dashes on the same line
+!! input
+---------
+!! result
+<hr />
+
+!! end
+
+!! test
+Horizontal ruler -- does not collaps dashes on consecutive lines
+!! input
+----
+----
+!! result
+<hr />
+<hr />
+
+!! end
+
+!! test
+Horizontal ruler -- <4 dashes render as plain text
+!! input
+---
+!! result
+<p>---
+</p>
+!! end
+
###
### Block-level elements
###