summaryrefslogtreecommitdiff
path: root/lib/api/helpers.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-05-02 07:20:18 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-05-02 07:20:18 +0000
commit812c7a85df81c526b6f21de8c057eb3ba0c20874 (patch)
tree2cfa64a42b26b3604abd274dbed2623677994c6c /lib/api/helpers.rb
parent83bba1f8f9b503f5738169c9d9082807df4aadc3 (diff)
parent99fcf2e6feaa5ec72a2608162251903c1b1a4c07 (diff)
downloadgitlab-ce-812c7a85df81c526b6f21de8c057eb3ba0c20874.tar.gz
Merge branch 'rs-more-pipeline-filters' into 'master'
More HTML::Pipeline filters The big part of this MR is a feature that is intended to test the entire Markdown-parsing process from beginning to end. See `spec/support/markdown_feature.rb` and `spec/features/markdown_spec.rb`. One big thing this MR fixes is not being able to type a `<` or `>` anywhere. It now gets properly escaped. This MR also adds three more custom HTML::Pipeline filters: ### AutolinkFilter Similar to the built-in Autolink filter in that it still uses Rinku for standard http and ftp links, but then does some further processing to allow auto-linking of any URI scheme. See internal issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2239 ### SanitizationFilter Created a simple custom SanitizationFilter that sub-classes the default one and adds our custom whitelisting. ### TableOfContentsFilter Adds the anchor links to each header. This removes some processing from our Redcarpet renderer. Closes #800, #1015, #1528, #1549 Closes GitHub [8535](https://github.com/gitlabhq/gitlabhq/issues/8535) See merge request !584
Diffstat (limited to 'lib/api/helpers.rb')
0 files changed, 0 insertions, 0 deletions