mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
handleText -> handleCharacters
This commit is contained in:
parent
6e1d1cb505
commit
21ff7769e5
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user