1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-12 05:20:26 +00:00
mycorrhiza/markup
hugmouse 8dfd2fcf9b
Fix lexer for "----" (<hr/>) case
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.
2021-03-05 14:34:56 +08:00
..
testdata Add inline links 2020-11-04 22:42:02 +05:00
img_entry.go Make img galleries use the new link abstraction 2021-01-31 21:39:08 +05:00
img_test.go Add inline links 2020-11-04 22:42:02 +05:00
img.go Make img galleries use the new link abstraction 2021-01-31 21:39:08 +05:00
lexer_test.go Strike-through tag 2020-11-11 22:42:31 +05:00
lexer.go Fix lexer for "----" (<hr/>) case 2021-03-05 14:34:56 +08:00
link.go Start moving universal link-related stuff to a separate module 2021-01-31 00:25:18 +05:00
mycomarkup.go Add proof-of-concept Gemini output of /hypha/ 2021-02-09 19:35:02 +05:00
outlink.go Find backlinks on wiki start 2021-02-19 14:23:57 +05:00
paragraph_test.go Strike-through tag 2020-11-11 22:42:31 +05:00
paragraph.go Make autolinks ignore several characters 2021-01-31 21:50:44 +05:00
parser.go Add tables to mycomarkup 2021-01-01 09:07:56 +05:00
table.go Fix display text separators being recognised as table row separators 2021-01-10 18:33:36 +05:00
utils.go Implement some features of mycomarkup 2020-10-30 18:25:48 +05:00
xclusion_test.go Implement some features of mycomarkup 2020-10-30 18:25:48 +05:00
xclusion.go Implement OpenGraph meta tags 2020-12-17 17:59:59 +05:00