diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-27 07:58:41 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-27 08:27:20 -0800 |
commit | b54dacbeb2f8711495bb4998d5a94268d47804b2 (patch) | |
tree | ef833fd03acfa0e08185b9dca4ef7bdc8a7ad1bb /xslt/MacDive.xslt | |
parent | eb3376d612d836c1343f9140dcb67b8bc32f5d33 (diff) | |
download | subsurface-b54dacbeb2f8711495bb4998d5a94268d47804b2.tar.gz |
Ensure all strings stored in XML are escaped correctly
This does escaping / quoting for everything I found. Some of it was safe
(the divecomputer model is supplied from libdivecomputer, and none of them
have single quotes _yet_, afaik), but with this there are no '%s' strings
left except for the ones used by the helper functions (for "pre" and
"post" strings).
It also takes some of our existing uses of show_utf8(), and removes
the redundant "check if the string is NULL or empty". show_utf8() does
that internally.
Fixes #73
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt/MacDive.xslt')
0 files changed, 0 insertions, 0 deletions