Unified · Split
| @@ -65,7 +65,7 @@ BEGIN { · 64 unmodified lines | ||
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | # Horizontal rules (_ is not in markdown) |
| 68 | −/^[ ]*([-*_] ?)+[ ]*$/ && text == "" { # TODO: md.pl comp | |
| 68 | +/^ *([-*_][ ]*([-*_][ ]*))([-*_][ ]*)+$/ && ! text { | |
| 69 | 69 | print "<hr>"; |
| 70 | 70 | next; |
| 71 | 71 | } |