1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-02-24 15:00:16 +00:00
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
..
2020-11-04 22:42:02 +05:00
2020-11-04 22:42:02 +05:00
2020-11-11 22:42:31 +05:00
2021-03-05 14:34:56 +08:00
2021-02-19 14:23:57 +05:00
2020-11-11 22:42:31 +05:00
2021-01-01 09:07:56 +05:00
2020-10-30 18:25:48 +05:00
2020-12-17 17:59:59 +05:00