Commit 638acfb3 authored by Simon Depiets's avatar Simon Depiets

Fix a bug where newlines were removed from extracted comments

BUG: 403142
parent 5cdd8d84
...@@ -141,7 +141,7 @@ void MsgCtxtView::process() ...@@ -141,7 +141,7 @@ void MsgCtxtView::process()
QString html; QString html;
foreach (const Note& note, m_catalog->developerNotes(m_entry.toDocPosition())) { foreach (const Note& note, m_catalog->developerNotes(m_entry.toDocPosition())) {
html += MsgCtxtView::BR + escapeWithLinks(note.content); html += MsgCtxtView::BR + escapeWithLinks(note.content).replace('\n', BR);
} }
QStringList sourceFiles = m_catalog->sourceFiles(m_entry.toDocPosition()); QStringList sourceFiles = m_catalog->sourceFiles(m_entry.toDocPosition());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment