• Luke Duncalfe's avatar
    Pass all wiki markup formats through pipelines · bc534868
    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
    bc534868
markup_helper.rb 8.33 KB