Martin Hanzel
20e8c92410
Enforce max chars and max render time in markdown math
...
KaTeX math will now render progressivly and asynchronously. There
are upper limits on the character count of each formula, and on
cumulative render time.
2019-08-06 19:19:02 -04:00
Thong Kuah
73e848850c
Add frozen_string_literal to spec/features
...
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-07-26 13:23:30 +12:00
Gabriel Mazetto
83adf64831
Fix rubocop violations
2019-01-31 21:31:25 +01:00
Constance Okoghenun
645f7ee86b
[master] Resolve "[Security] Stored XSS via KaTeX"
2019-01-31 16:52:49 +01:00
Andrew Harmon
a763d5fb09
Update spec/features/markdown/math_spec.rb
...
Refer to https://github.com/KaTeX/KaTeX/pull/1700 for additional details.
2019-01-18 18:55:05 +00:00
Douwe Maan
603fa7c141
Merge branch 'fix-mermaid-xss' into 'security-10-4'
...
[10.4] Fix stored XSS in code blocks
2018-02-09 12:13:44 -06:00