diff options
author | Brett Walker <bwalker@gitlab.com> | 2018-08-21 11:20:30 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-08-21 11:20:30 +0300 |
commit | 198f8a2c3d3d173fe59e948e6bab49440a658efa (patch) | |
tree | 90b94e8dc3a28d2716f08a2bc1375d24c6027803 /lib/banzai/pipeline | |
parent | 5dabe6d1f309530a26a11354b994bdbc988b852f (diff) |
Resolve "Wiki: links with spaces in the url render incorrectly with CommonMark"
Diffstat (limited to 'lib/banzai/pipeline')
-rw-r--r-- | lib/banzai/pipeline/wiki_pipeline.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/banzai/pipeline/wiki_pipeline.rb b/lib/banzai/pipeline/wiki_pipeline.rb index c37b8e71cb0..737ff0cc818 100644 --- a/lib/banzai/pipeline/wiki_pipeline.rb +++ b/lib/banzai/pipeline/wiki_pipeline.rb @@ -5,6 +5,7 @@ module Banzai @filters ||= begin super.insert_after(Filter::TableOfContentsFilter, Filter::GollumTagsFilter) .insert_before(Filter::TaskListFilter, Filter::WikiLinkFilter) + .insert_before(Filter::WikiLinkFilter, Filter::SpacedLinkFilter) end end end |