mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-02 19:29:30 +00:00
Added support for self closing tags.
XHTML requires self closing tags to be used for empty tags, so we need to recognize them.
This commit is contained in:
parent
374c89be01
commit
d5d646528e
@ -327,7 +327,7 @@ find_tag(char *tag)
|
|||||||
do {
|
do {
|
||||||
tagc = tag[i];
|
tagc = tag[i];
|
||||||
|
|
||||||
if(tagc == 0 &&
|
if((tagc == 0 || tagc == ISO_slash) &&
|
||||||
tags[first][i] == 0) {
|
tags[first][i] == 0) {
|
||||||
return first;
|
return first;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user