diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-09-11 11:47:13 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-09-11 11:47:13 +0300 |
commit | 4f461fd45f65dbd6900088149b48649b27a7c2ce (patch) | |
tree | 2a05b8ef187db81f059b59f71a6cdcbbc2c465c1 /app/helpers | |
parent | a5bb85f8a234b2d8463656877712faf10f5bb842 (diff) | |
parent | e3c97ede9663fe7905fcb350875c46526cb4f832 (diff) |
Merge branch 'rs-fix-highlighting' into 'master'
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
Diffstat (limited to 'app/helpers')
0 files changed, 0 insertions, 0 deletions