Handbook
Glossary
(script-data-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-end-tag-open-state)
( document n/f string ch/f -- document n'/f string )
{
{
[
dup
ascii-alpha?
]
[
reach
new-end-tag
(script-data-end-tag-name-state)
]
}
[
[
"</"
reach
emit-string
]
dip
(script-data-state)
]
}
cond
;