• Luke Duncalfe's avatar
    Pass all wiki markup formats through pipelines · 284a7fe8
    Luke Duncalfe authored
    Previously, when the wiki page format was anything other than `markdown`
    or `asciidoc` the formatted content would be returned though a Gitaly
    call. Gitaly in turn would delegate formatting to the gitlab-gollum-lib
    gem, which in turn would delegate that to various gems (like RDoc for
    `rdoc`) and then apply some very liberal sanitization.
    
    It was too liberal!
    
    This change brings our wiki content formatting in line with how we
    format other markdown at GitLab, so we have a SSOT for sanitization.
    
    https://gitlab.com/gitlab-org/gitlab/issues/30540
    284a7fe8
markup_helper.rb 8.33 KB