• Jan Provaznik's avatar
    Re-escape whole HTML content instead of only match · 1c375330
    Jan Provaznik authored
    When we un-escape HTML text to find references in it, we should then
    re-escape the whole text again, not only found matches.
    
    Because we replace matches with milestone/label links (which contain
    HTML tags we don't want to escape again), we re-escape HTML text
    with placeholders instead of these links and then replace placeholders
    in the escaped text.
    1c375330
markdown_cache.rb 322 Bytes