Skip to content
Snippets Groups Projects

Fix cases where Markdown did not render links in activity feed

Merged Stan Hu requested to merge stanhu/gitlab-ce:fix-markdown-truncation-removing-links into master

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 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading