<div dir="ltr"><div><div><div>Hi again.<br><br></div>For obvious reasons, this doesn't affect git storage, just XML files.<br><br></div>Regards.<br><br></div>Salva.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-04 12:51 GMT+02:00 Salvador Cuñat <span dir="ltr"><<a href="mailto:salvador.cunat@gmail.com" target="_blank">salvador.cunat@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Good morning.<br><br></div>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).<br><br></div>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.<br><br></div>If the use of the XML attribute was, for some reason, intentional, please, simply drop the attached patch.<br><br></div>Regards.<br><br></div>Salva.<br></div></div>
</blockquote></div><br></div>