mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-08-14 09:28:59 +00:00
parse_tag() is called both for attributes inside a tag and the end of the tag itself. For most tags parse_tag() doesn't distinguish both cases. This means that the "tag action" is additionally triggered for every tag attribute. When the tag "action" is setting some state this doesn't hurt. For many tags the "tag action" is to render a newline. Superfluous newlines are sort of acceptable to keep the code as small as possible. However the <li> "tag action" is to render a newline followed by an asterisk - and superfluous asterisks are ugly so we check for <li> if parse_tag() was called for the end of the tag itself. |
||
---|---|---|
.. | ||
html-strings | ||
html-strings.c | ||
html-strings.h | ||
htmlparser.c | ||
htmlparser.h | ||
http-strings | ||
http-strings.c | ||
http-strings.h | ||
http-user-agent-string | ||
http-user-agent-string.c | ||
http-user-agent-string.h | ||
Makefile.webbrowser | ||
webclient.c | ||
webclient.h | ||
www-dsc.c | ||
www-dsc.h | ||
www.c | ||
www.h |