xml.c: improve parsing whitespace after end tag names - frontends - front-ends for some sites (experiment)
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 112804392678394fc1d3df286a6e0e64398cb97c
 (DIR) parent 1409d7e079aebdcb02c6ee48b661c0b61eb34efd
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sun, 30 Jun 2024 10:03:31 +0200
       
       xml.c: improve parsing whitespace after end tag names
       
       Diffstat:
         M xml.c                               |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/xml.c b/xml.c
       @@ -394,6 +394,8 @@ xml_parse(XMLParser *x)
                                                else if (c == '>' || ISSPACE(c)) {
                                                        x->tag[x->taglen] = '\0';
                                                        if (isend) { /* end tag, starts with </ */
       +                                                        while (c != '>' && c != EOF) /* skip until > */
       +                                                                c = GETNEXT();
                                                                if (x->xmltagend)
                                                                        x->xmltagend(x, x->tag, x->taglen, x->isshorttag);
                                                                x->tag[0] = '\0';