fd81dd0a7889fb72292a9e74cccede7f5255faef galt Sat Feb 25 17:49:20 2017 -0800 adding SVG self-closing tag capability to htmlCheck. diff --git src/inc/htmlPage.h src/inc/htmlPage.h index 91cc9c6..4d842ad 100644 --- src/inc/htmlPage.h +++ src/inc/htmlPage.h @@ -235,17 +235,21 @@ struct htmlPage *htmlPageGet(char *url); /* Get page from URL (may be a file). */ struct htmlPage *htmlPageForwarded(char *url, struct htmlCookie *cookies); /* Get html page. If it's just a forwarding link then get do the * forwarding. Cookies is a possibly empty list of cookies with * name and value parts filled in. */ struct htmlPage *htmlPageForwardedNoAbort(char *url, struct htmlCookie *cookies); /* Try and get an HTML page. Print warning and return NULL if there's a problem. */ struct htmlTag *findNextMatchingTag(struct htmlTag *list, char *name); /* Return first tag in list that is of type name or NULL if not found. */ +boolean isSelfClosingTag(struct htmlTag *tag); +/* Return strue if last attributes' name is "/" + * Self-closing tags are used with html5 and SGV */ + #endif /* HTMLPAGE_H */