BigW Consortium Gitlab
There were three things here: 1. Display math was broken. 2. <script> tags could be injected into code blocks with the language as `math`, `mermaid`, or `plantuml`. 3. <script> tags could be injected if Rouge threw an exception, for whatever reason. This fixes all of those by always using the same code path for 'standard' highlighting and 'special' languages (mathematics, Mermaid, and PlantUML), and skipping the filter entirely if Rouge fails on a retry with the plain text filter. It also adds specs for KaTeX and Mermaid rendering.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
filter | Loading commit data... | |
pipeline | Loading commit data... | |
reference_parser | Loading commit data... | |
renderer | Loading commit data... | |
commit_renderer.rb | Loading commit data... | |
cross_project_reference.rb | Loading commit data... | |
filter.rb | Loading commit data... | |
filter_array.rb | Loading commit data... | |
issuable_extractor.rb | Loading commit data... | |
object_renderer.rb | Loading commit data... | |
pipeline.rb | Loading commit data... | |
querying.rb | Loading commit data... | |
redactor.rb | Loading commit data... | |
reference_extractor.rb | Loading commit data... | |
reference_parser.rb | Loading commit data... | |
renderer.rb | Loading commit data... | |
request_store_reference_cache.rb | Loading commit data... |