forgejo/modules/markup
zeripath 0db1048c3a
Run processors on whole of text (#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 11:35:05 +01:00
..
common
csv
external
markdown Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
mdstripper
orgmode
html.go Run processors on whole of text (#16155) 2021-06-17 11:35:05 +01:00
html_internal_test.go
html_test.go Run processors on whole of text (#16155) 2021-06-17 11:35:05 +01:00
renderer.go Fix regression of renderer (#16091) 2021-06-06 18:50:07 -04:00
renderer_test.go
sanitizer.go issue-keyword class is being incorrectly stripped off spans (#16163) 2021-06-16 03:02:03 +02:00
sanitizer_test.go Fix data URI scramble (#16098) 2021-06-07 18:55:26 +02:00