mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-24 06:03:43 +00:00
xhtml tests added
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2113 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
71b441463c
commit
2fa156988e
1 changed files with 7 additions and 2 deletions
|
|
@ -79,8 +79,10 @@ parsetests = [
|
|||
("""< /a>""", """</a>"""),
|
||||
# missing > in end tag
|
||||
("""</td <td a="b" >""", """</td><td a="b">"""),
|
||||
# start and end tag
|
||||
("""<a/>""", """<a></a>"""),
|
||||
# start and end tag (HTML doctype assumed)
|
||||
("""<a/>""", """<a/>"""),
|
||||
("""<meta/>""", """<meta>"""),
|
||||
("""<MetA/>""", """<meta>"""),
|
||||
# declaration tags
|
||||
("""<!DOCtype adrbook SYSTEM "adrbook.dtd">""",
|
||||
"""<!DOCTYPE adrbook SYSTEM "adrbook.dtd">"""),
|
||||
|
|
@ -117,6 +119,9 @@ parsetests = [
|
|||
# mailto link
|
||||
("""<a href=mailto:calvin@LocalHost?subject=Hallo&to=michi>1</a>""",
|
||||
"""<a href="mailto:calvin@LocalHost?subject=Hallo&to=michi">1</a>"""),
|
||||
# doctype XHTML
|
||||
("""<!DOCTYPe html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><MeTa a="b"/>""",
|
||||
"""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><meta a="b"/>"""),
|
||||
]
|
||||
|
||||
flushtests = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue