diff --git a/web/app/components/comment/comment.jsx b/web/app/components/comment/comment.jsx index f0fffe20..a257d035 100644 --- a/web/app/components/comment/comment.jsx +++ b/web/app/components/comment/comment.jsx @@ -333,7 +333,7 @@ export default class Comment extends Component { function getTextSnippet(html) { const LENGTH = 100; const tmp = document.createElement('div'); - tmp.innerHTML = html; + tmp.innerHTML = html.replace('

', ' '); const result = tmp.innerText || ''; const snippet = result.substr(0, LENGTH);