You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
common Code Formats, Nits & Unused Func/Var deletions (#15286) 3 years ago
csv Refactor renders (#15175) 3 years ago
external Refactor renders (#15175) 3 years ago
markdown Fixed assert statements. (#16089) 3 years ago
mdstripper Detect full references to issues and pulls in commit messages (#12399) 4 years ago
orgmode Refactor renders (#15175) 3 years ago
html.go Run processors on whole of text (#16155) 3 years ago
html_internal_test.go Refactor renders (#15175) 3 years ago
html_test.go Run processors on whole of text (#16155) 3 years ago
renderer.go Fix regression of renderer (#16091) 3 years ago
renderer_test.go Refactor renders (#15175) 3 years ago
sanitizer.go issue-keyword class is being incorrectly stripped off spans (#16163) 3 years ago
sanitizer_test.go Fix data URI scramble (#16098) 3 years ago