summaryrefslogtreecommitdiffstats
path: root/profile-widget
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-11-15 23:01:17 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-15 21:06:46 -0800
commit00a085f858f64768456d25a200e2e3477c1fda7e (patch)
tree5002fbc07c3e2062fca1d1795ccea703087650fc /profile-widget
parent6cb30ba1b68805e0a7306cd6f54da4afe3148d4b (diff)
downloadsubsurface-00a085f858f64768456d25a200e2e3477c1fda7e.tar.gz
qthelper.cpp: support line breaks for notes when printing
The Dive::put_notes() does not handle HTML formatting or line breaks properly. Apparently Grantlee supports HTML variables, but the planned notes (which are HTML) look very bad when inserted in the Grantlee template - e.g. the text is huge and the table box is cut for some odd reason. I don't have a good solution for these issues ATM; especially for the "table cell being cut part". An important feature in the dive notes is to support line breaks. This patch adds support for line breaks both in planned dive notes and non-planned dive notes via the <br> tag. This makes the planned dive notes look tolerable. The next step would be to support the <br> tag, which has to happen in the bundled templates them self. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget')
0 files changed, 0 insertions, 0 deletions