[Patch] dive_site notes displays like a single, long, long line

Salvador Cuñat salvador.cunat at gmail.com
Sun Oct 4 03:51:51 PDT 2015


Good morning.

I had noticed that Dive Site notes are displayed like a very long, single
line.  This is pretty annoying if one tries to give some format to the
stored text (e.g. \n or \t).

I initially thought it was a QT thing on showing the text, as I could see
the chars in the XML file, but it happens to do with the way they are
stored as an XML attribute instead of an XML element.  On loading, the
special chars are substituted with white spaces, and displayed this way.

If the use of the XML attribute was, for some reason, intentional, please,
simply drop the attached patch.

Regards.

Salva.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151004/de0487a6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Dive_sites-Notes-shouldn-t-be-stored-as-attribute.patch
Type: text/x-diff
Size: 1917 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151004/de0487a6/attachment.patch>


More information about the subsurface mailing list