diff options
Diffstat (limited to 'subsurface-core/qthelper.cpp')
-rw-r--r-- | subsurface-core/qthelper.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/subsurface-core/qthelper.cpp b/subsurface-core/qthelper.cpp index 23eb34e0f..b667ab206 100644 --- a/subsurface-core/qthelper.cpp +++ b/subsurface-core/qthelper.cpp @@ -263,10 +263,10 @@ void Dive::put_notes() QTextDocument notes; QString notesFormatted = m_notes; #define _NOTES_BR "\n" - notesFormatted = notesFormatted.replace("<thead>", "<thead>"_NOTES_BR); - notesFormatted = notesFormatted.replace("<br>", "<br>"_NOTES_BR); - notesFormatted = notesFormatted.replace("<tr>", "<tr>"_NOTES_BR); - notesFormatted = notesFormatted.replace("</tr>", "</tr>"_NOTES_BR); + notesFormatted = notesFormatted.replace("<thead>", "<thead>" _NOTES_BR); + notesFormatted = notesFormatted.replace("<br>", "<br>" _NOTES_BR); + notesFormatted = notesFormatted.replace("<tr>", "<tr>" _NOTES_BR); + notesFormatted = notesFormatted.replace("</tr>", "</tr>" _NOTES_BR); notes.setHtml(notesFormatted); m_notes = notes.toPlainText(); m_notes.replace(_NOTES_BR, "<br>"); |