[Patch] dive_site notes displays like a single, long, long line
Salvador Cuñat
salvador.cunat at gmail.com
Sun Oct 4 04:15:56 PDT 2015
Hi again.
For obvious reasons, this doesn't affect git storage, just XML files.
Regards.
Salva.
2015-10-04 12:51 GMT+02:00 Salvador Cuñat <salvador.cunat at gmail.com>:
> 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/6842d87a/attachment.html>
More information about the subsurface
mailing list