summaryrefslogtreecommitdiffstats
path: root/libdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-08-27 13:19:06 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-08-27 13:19:06 -0700
commitd96b504bc4f926de86d06c3797b2fbcafb8727bf (patch)
tree3dcb77fed2f47063e3daa4a28657fb4278f1bb51 /libdivecomputer.h
parent0640af873bcce6db0119bac5f0fe29e89cd6f04b (diff)
downloadsubsurface-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&apos;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