4f461fd45f
Syntax highlighting improvements On the server side: During development I would occasionally see SanitizationFilter sanitizing the result of SyntaxHighlightFilter, even though its attributes were whitelisted. This updates the `clean_spans` transformer to return the whitelisted node as [suggested by the Sanitize docs](http://git.io/vZR8i). On the client side: - Makes the syntax_highlight JS more flexible - Adds JS specs - Simplifies highlighting of new notes - Adds highlighting to Markdown preview See merge request !1278 |
||
---|---|---|
.. | ||
api | ||
assets | ||
backup | ||
gitlab | ||
omni_auth | ||
rouge/formatters | ||
support | ||
tasks | ||
disable_email_interceptor.rb | ||
email_validator.rb | ||
event_filter.rb | ||
extracts_path.rb | ||
file_size_validator.rb | ||
gitlab.rb | ||
gt_one_coercion.rb | ||
repository_cache.rb | ||
static_model.rb | ||
unfold_form.rb | ||
version_check.rb |