]> git.street.me.uk Git - andy/viking.git/commit
SF Bugs#138: Fix handling of <link> tags in GPX files.
authorRob Norris <rw_norris@hotmail.com>
Sat, 20 May 2017 14:20:47 +0000 (15:20 +0100)
committerRob Norris <rw_norris@hotmail.com>
Sat, 20 May 2017 14:22:21 +0000 (15:22 +0100)
commit8a439f317d60281cdb3f6dab57dd51b7315a90de
tree41a686a1751d68b6fe6527e7fbf8e5757aed2b57
parent05a8e0d352affa5999cf906249aa40c7c44fc4f0
SF Bugs#138: Fix handling of <link> tags in GPX files.

<link> tags (only in GPX1.1) should be of the form <link href="URI"></link>
Previously Viking simply put the URI inside the tag without the 'href'.

Use the GtkHTML functions as necessary.

Note in order to support relative URI paths,
 the directory path is passed around for both reading and writing files.
src/babel.c
src/file.c
src/gpspoint.c
src/gpspoint.h
src/gpx.c
src/gpx.h
src/viklayer.h
src/vikutils.c
src/vikutils.h