Replace double-hyphen ("-‎-") with a dash ("–") like in TeX?

I first thoght, good catch! But the horizontal rule syntax is block level. It will not conflict if this en dash or em dash rule would be used as an inline element. E.g.

Word1 --- word 2

The three hyphens above are not interpreted as horizontal rule.

2 Likes