mirror of
1
Fork 0
gotosocial/internal/text
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
..
common.go [bugfix] Fix unicode-unaware word boundary check in hashtags (#1049) 2022-11-15 16:05:34 +01:00
common_test.go [bugfix] html escape special characters in text instead of totally removing them (#719) 2022-07-19 15:21:17 +02:00
emojify.go [feature] Add opt-in RSS feed for account's latest Public posts (#897) 2022-10-08 14:00:39 +02:00
formatter.go [bugfix] Fix emphasis being added to emoji shortcodes with markdown parsing (#856) 2022-09-27 14:27:53 +02:00
formatter_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
link.go [bugfix] Fix existing bio text showing as HTML (#531) 2022-05-07 17:55:27 +02:00
link_test.go [bugfix] html escape special characters in text instead of totally removing them (#719) 2022-07-19 15:21:17 +02:00
markdown.go [chore] markdown: disable Smartypants rendering (#1111) 2022-11-22 11:08:50 +01:00
markdown_test.go [chore] markdown: disable Smartypants rendering (#1111) 2022-11-22 11:08:50 +01:00
plain.go [bugfix] html escape special characters in text instead of totally removing them (#719) 2022-07-19 15:21:17 +02:00
plain_test.go [bugfix] html escape special characters in text instead of totally removing them (#719) 2022-07-19 15:21:17 +02:00
removehtml_test.go [bugfix] Fix HTML escaping in instance title (#607) 2022-05-26 11:37:13 +02:00
sanitize.go [chore] Fix rel="nofollow" so that it only applies to external links (#991) 2022-11-07 14:25:36 +01:00
sanitize_test.go [feature] Allow users to set custom css for their profiles + threads (#808) 2022-09-12 13:14:29 +02:00