Update dependencies

This commit is contained in:
Ken-Håvard Lieng 2018-10-06 08:09:29 +02:00
parent ccdd56fea4
commit 66bf957460
158 changed files with 15315 additions and 1835 deletions

View file

@ -97,8 +97,16 @@ func isSpecialElement(element *Node) bool {
switch element.Namespace {
case "", "html":
return isSpecialElementMap[element.Data]
case "math":
switch element.Data {
case "mi", "mo", "mn", "ms", "mtext", "annotation-xml":
return true
}
case "svg":
return element.Data == "foreignObject"
switch element.Data {
case "foreignObject", "desc", "title":
return true
}
}
return false
}