handleText -> handleCharacters

This commit is contained in:
Patrick Steele-Idem 2015-12-28 14:44:34 -07:00
parent 6e1d1cb505
commit 21ff7769e5

View File

@ -37,12 +37,12 @@ class HtmlJsParser {
ondtd(event) {
// DTD (e.g. <DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN">)
handlers.handleText(event.dtd);
handlers.handleCharacters(event.dtd);
},
ondeclaration(event) {
// Declaration (e.g. <?xml version="1.0" encoding="UTF-8" ?>)
handlers.handleText(event.declaration);
handlers.handleCharacters(event.declaration);
},
oncomment(event) {