diff options
| author | Stan Hu <stanhu@gmail.com> | 2015-09-22 21:56:27 -0700 |
|---|---|---|
| committer | Stan Hu <stanhu@gmail.com> | 2015-09-22 21:56:27 -0700 |
| commit | a7b0ee3fd17d4e2afd427606b002d3a9f7c6673d (patch) | |
| tree | fadfacf68e8a6020bc7c24083271bdf4595f91b4 /app/models/commit_range.rb | |
| parent | 03fd5919a393b8784c601c76c3ed65912f4b522a (diff) | |
| download | gitlab-ce-a7b0ee3fd17d4e2afd427606b002d3a9f7c6673d.tar.gz | |
Fix cases where Markdown did not render links in activity feed
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
Diffstat (limited to 'app/models/commit_range.rb')
0 files changed, 0 insertions, 0 deletions
