diff options
author | albert-github <albert.tests@gmail.com> | 2019-09-23 13:47:01 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-09-23 13:47:01 (GMT) |
commit | 648d871ab448b81dc714dcbdca955afd9a9bc3c3 (patch) | |
tree | 71fb16204c548cc10648cb747147d5927f2e8319 | |
parent | 1024ab18b435dac7ba4ab94a087bb950b3bdf2c0 (diff) | |
download | Doxygen-648d871ab448b81dc714dcbdca955afd9a9bc3c3.zip Doxygen-648d871ab448b81dc714dcbdca955afd9a9bc3c3.tar.gz Doxygen-648d871ab448b81dc714dcbdca955afd9a9bc3c3.tar.bz2 |
HTML attribute name
A HTML attribute name can have e.g. a XML namespace in it and thus containing a colon (`:`) like:
```
<span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">Social Icons</span>
```
but this results in
```
warning: found </span> tag without matching <span>
```
and grabled outpuzt.
allowing a colon in the attribute name solves this problem
-rw-r--r-- | src/doctokenizer.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l index 9786720..22b14a0 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -350,7 +350,7 @@ LISTITEM {BLANK}*[-]("#")?{WS} MLISTITEM {BLANK}*[+*]{WS} OLISTITEM {BLANK}*[1-9][0-9]*"."{BLANK} ENDLIST {BLANK}*"."{BLANK}*\n -ATTRNAME [a-z_A-Z\x80-\xFF][a-z_A-Z0-9\x80-\xFF\-]* +ATTRNAME [a-z_A-Z\x80-\xFF][:a-z_A-Z0-9\x80-\xFF\-]* ATTRIB {ATTRNAME}{WS}*("="{WS}*(("\""[^\"]*"\"")|("'"[^\']*"'")|[^ \t\r\n'"><]+))? URLCHAR [a-z_A-Z0-9\!\~\,\:\;\'\$\?\@\&\%\#\.\-\+\/\=] URLMASK ({URLCHAR}+([({]{URLCHAR}*[)}])?)+ |