gitea/modules/markup
zeripath 5ff807acde
Run processors on whole of text (#16155) (#16185)
Backport #16155

There is an inefficiency in the design of our processors which means that Emoji
and other processors run in order n^2 time.

This PR forces the processors to process the entirety of text node before passing
back up. The fundamental inefficiency remains but it should be significantly
ameliorated.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-06-17 20:01:33 +02:00
..
common Don't replace underscores in auto-generated IDs in goldmark (#12805) 2020-09-12 12:00:48 -04:00
csv Detect delimiter in CSV rendering (#7869) 2019-08-16 01:09:50 +03:00
external Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
markdown Remove extraneous logging (#15020) 2021-03-18 04:25:52 +01:00
mdstripper Detect full references to issues and pulls in commit messages (#12399) 2020-08-06 20:20:05 +01:00
orgmode fix: media links in org files not liked to media files (#12997) 2020-10-01 11:22:34 -04:00
html.go Run processors on whole of text (#16155) (#16185) 2021-06-17 20:01:33 +02:00
html_internal_test.go Issue/PR Context Popups (#9822) 2020-01-19 23:39:21 -05:00
html_test.go Run processors on whole of text (#16155) (#16185) 2021-06-17 20:01:33 +02:00
markup.go Don't manually replace whitespace during render (#10291) 2020-02-17 07:46:51 +02:00
markup_test.go Prioritize "readme.md" (#5691) 2019-01-14 14:15:06 -05:00
sanitizer.go issue-keyword class is being incorrectly stripped off spans (#16163) (#16172) 2021-06-16 06:35:54 -04:00
sanitizer_test.go Update to bluemonday-1.0.6 (#15294) (#15297) 2021-04-06 01:36:58 +01:00