Norwin
f88cb3aebc
[chore] markdown: disable Smartypants rendering ( #1111 )
...
* [enhancement] markdown: disable SmartyPantsFractions
fixes #1028
* some fractions are still converted to unicode
to fix that, we might need to disable smartypants indeed in its entirety
* disable smartypants completely
for lack of a better simple solution
2022-11-22 11:08:50 +01:00
tobi
00d38855d4
[bugfix] Fix emphasis being added to emoji shortcodes with markdown parsing ( #856 )
...
* fix underscored emoji shortcodes being emphasized
* remove footnote parsing from md
2022-09-27 14:27:53 +02:00
Blackle Morisanchetto
f01492ae48
[bugfix] Use custom blackfriday renderer to only add mention/hashtag links in normal text ( #787 )
...
* Use custom blackfriday renderer to only add mention/hashtag links in normal text
* Add additional markdown tests
2022-08-31 17:40:11 +02:00
tobi
79fb8bad04
[feature] Allow footnotes in markdown, use <br>
instead of \n
( #767 )
...
* allow markdown footnotes + hard line breaks
* don't keep whitespace w/minify (unnecessary now)
* test markdown a bit more
2022-08-26 13:28:06 +02:00
tobi
879b4abde7
[bugfix] Markdown formatting updates ( #743 )
...
* add minify dependency specifically for markdown
* rearrange markdown formatting
* update markdown tests
2022-08-07 18:19:16 +02:00
tobi
c84384e660
[bugfix] html escape special characters in text instead of totally removing them ( #719 )
...
* remove minify dependency
* tidy up some tests
* remove pre + postformat funcs
* rework sanitization + formatting
* update tests
* add some more markdown tests
2022-07-19 15:21:17 +02:00
tobi
59be7466f3
[bugfix] Markdown format fixes ( #718 )
...
* just sanitize markdown, don't minify or escape
* tidy tests, add one for inline code
* add another test, it works!
2022-07-19 10:41:16 +02:00
tobi
ef5a9256a8
Extend license notices to 2022 ( #354 )
2021-12-20 18:42:19 +01:00
tobi
2dc9fc1626
Pg to bun ( #148 )
...
* start moving to bun
* changing more stuff
* more
* and yet more
* tests passing
* seems stable now
* more big changes
* small fix
* little fixes
2021-08-25 15:34:33 +02:00
Tobi Smethurst
ce190d867c
Text/status parsing fixes ( #141 )
...
* aaaaaa
* vendor minify
* update + test markdown parsing
2021-08-16 19:17:56 +02:00
Tobi Smethurst
a940a520d3
Link hashtag bug ( #121 )
...
* link + hashtag bug
* remove printlns
* tidy up some duplicated code
2021-07-29 13:18:22 +02:00
Tobi Smethurst
ad0e26dc04
Markdown Statuses ( #116 )
...
* parse markdown statuses if desired
* add some preliminary docs for writing posts
2021-07-26 20:25:54 +02:00