diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-11-15 23:01:49 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-15 21:07:12 -0800 |
commit | 1d4075f368cd688af89211226df182052fbaf512 (patch) | |
tree | 8eecac2ab90254ccaa37c01b0a146424d6caff41 /profile-widget | |
parent | 00a085f858f64768456d25a200e2e3477c1fda7e (diff) | |
download | subsurface-1d4075f368cd688af89211226df182052fbaf512.tar.gz |
printing_templates: mark 'dive.notes' as 'safe'
Grantlee has a way to display a variable as HTML by
marking it as 'safe' e.g.:
{{ dive.notes|safe }}
This allows any HTML to be preserved when printing.
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