8 Commits

Author SHA1 Message Date
215f12d4d8 MarkdownStrip: Support all languages
We were only supporting English, and even if we use the regexp \w, that
seems to only work for English and not all languages.
2020-06-19 13:09:25 +02:00
441202af48 StripMarkdownFormatting: Support new checklist format 2020-05-02 01:29:43 +02:00
64e3d36130 Improve stripMarkdown formatting
At some point this will need to be done in another thread.
2020-04-02 18:19:50 +02:00
1ff3075a1c MicroOptimization: Avoid rebuilding the regexp 2020-03-19 23:38:12 +01:00
0d5793d097 strip_markdown: Use a handbuilt stripper
It's not perfect, but it runs faster at about 35 us vs 650 us.
2020-02-17 15:51:37 +01:00
3fd801b4a1 Fix "Value not in range: -1" error
Fixes #4
2019-05-29 17:34:47 +02:00
ad2e4ac9b1 Rename markdownToPlainText -> stripMarkdownFormatting
It better reflects what the function actually does
2019-05-13 22:57:49 +02:00
f2af5c9c75 Improve markdown to text conversion
Use a proper markdown parser to convert the text. This way more of the
formatting is correctly removed.
2019-05-13 22:36:32 +02:00