• Vinnie Okada's avatar
    Fix SanitizationFilter bugs · a7afc063
    Vinnie Okada authored
    Return a `SafeBuffer` instead of a `String` from the `#gfm_with_options`
    method so that Rails doesn't escape our markup.
    
    Also add `<span>` to the sanitization whitelist to avoid breaking syntax
    highlighting in code blocks.
    a7afc063
markdown.rb 12.8 KB