diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-27 13:19:06 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-27 13:19:06 -0700 |
commit | d96b504bc4f926de86d06c3797b2fbcafb8727bf (patch) | |
tree | 3dcb77fed2f47063e3daa4a28657fb4278f1bb51 /libdivecomputer.h | |
parent | 0640af873bcce6db0119bac5f0fe29e89cd6f04b (diff) | |
download | subsurface-d96b504bc4f926de86d06c3797b2fbcafb8727bf.tar.gz |
Only quote the quote characters in xml attributes
The quoting of single and double quotes is only necessary for
attributes, and is irritating for other fields in that it makes the
fields almost unreadable in the xml file. Single quotes in particular
are common, and turning "it's" into "it's" is just not reasonable
for dive notes etc.
So add a flag to whether the xml quoting is for an attribute or not, and
take that into account.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'libdivecomputer.h')
0 files changed, 0 insertions, 0 deletions