mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-10-30 19:56:16 +00:00
8dfd2fcf9b
The point is that there may be another character in the string. For example, a space or a line break. Because we check the whole string, not the first 4 characters - we can ignore the variant where it can be "----\s" or "----\r\n" and make the wrong markup. Alternatively: use `startsWith("----")`, but this is a bit more expensive operation. |
||
---|---|---|
.. | ||
testdata | ||
img_entry.go | ||
img_test.go | ||
img.go | ||
lexer_test.go | ||
lexer.go | ||
link.go | ||
mycomarkup.go | ||
outlink.go | ||
paragraph_test.go | ||
paragraph.go | ||
parser.go | ||
table.go | ||
utils.go | ||
xclusion_test.go | ||
xclusion.go |