Handbook
Glossary
(script-data-escaped-end-tag-open-state) ( document n/f string ch/f -- document n'/f string )
Vocabulary
html5
Inputs
document
an
object
n/f
an
object
string
an
object
ch/f
an
object
Outputs
document
an
object
n'/f
an
object
string
an
object
Definition
USING:
combinators
kernel
;
IN:
html5
:
(script-data-escaped-end-tag-open-state)
( document n/f string ch/f -- document n'/f string )
{
{
[
dup
ascii-alpha?
]
[
[
pick
new-end-tag
]
dip
(script-data-escaped-end-tag-name-state)
]
}
[
[
"</"
reach
emit-string
]
dip
(script-data-escaped-state)
]
}
cond
;