• Stan Hu's avatar
    Fix cases where Markdown did not render links in activity feed · a7b0ee3f
    Stan Hu authored
    HTML would be stripped in `truncate_if_block` when a comment had multiple lines
    and the first wasn't long enough to be truncated. The use of `node.content` would
    strip all HTML tags. Using `node.inner_html` retains these tags and puts the
    "..." in between paragraph tags.
    
    Closes #2586
    a7b0ee3f
gitlab_markdown_helper_spec.rb 5.75 KB