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 |
---|---|---|
.. | ||
api | Loading commit data... | |
assets | Loading commit data... | |
backup | Loading commit data... | |
banzai | Loading commit data... | |
bitbucket | Loading commit data... | |
constraints | Loading commit data... | |
container_registry | Loading commit data... | |
declarative_policy | Loading commit data... | |
generators/rails/post_deployment_migration | Loading commit data... | |
gitlab | Loading commit data... | |
google_api | Loading commit data... | |
haml_lint | Loading commit data... | |
json_web_token | Loading commit data... | |
mattermost | Loading commit data... | |
microsoft_teams | Loading commit data... | |
omni_auth/strategies | Loading commit data... | |
peek | Loading commit data... | |
rouge/formatters | Loading commit data... | |
rspec_flaky | Loading commit data... | |
support | Loading commit data... | |
system_check | Loading commit data... | |
tasks | Loading commit data... | |
additional_email_headers_interceptor.rb | Loading commit data... | |
after_commit_queue.rb | Loading commit data... | |
banzai.rb | Loading commit data... | |
declarative_policy.rb | Loading commit data... | |
disable_email_interceptor.rb | Loading commit data... | |
email_template_interceptor.rb | Loading commit data... | |
event_filter.rb | Loading commit data... | |
expand_variables.rb | Loading commit data... | |
extracts_path.rb | Loading commit data... | |
feature.rb | Loading commit data... | |
file_size_validator.rb | Loading commit data... | |
gitlab.rb | Loading commit data... | |
gt_one_coercion.rb | Loading commit data... | |
milestone_array.rb | Loading commit data... | |
repository_cache.rb | Loading commit data... | |
static_model.rb | Loading commit data... | |
system_check.rb | Loading commit data... | |
unfold_form.rb | Loading commit data... | |
uploaded_file.rb | Loading commit data... | |
version_check.rb | Loading commit data... |