Moved some of the CDATA docs around.
This commit is contained in:
parent
4883ac7384
commit
6138945d53
|
@ -109,15 +109,6 @@ module Oga
|
||||||
'HTML'i whitespace* any* greater;
|
'HTML'i whitespace* any* greater;
|
||||||
|
|
||||||
# CDATA
|
# CDATA
|
||||||
#
|
|
||||||
# http://www.w3.org/TR/html-markup/syntax.html#cdata-sections
|
|
||||||
#
|
|
||||||
# CDATA tags are broken up into 3 parts: the start, the content and the
|
|
||||||
# end tag.
|
|
||||||
#
|
|
||||||
# In HTML CDATA tags have no meaning/are not supported. Oga does support
|
|
||||||
# them but treats their contents as plain text.
|
|
||||||
#
|
|
||||||
cdata_start = smaller bang lbracket 'CDATA' lbracket;
|
cdata_start = smaller bang lbracket 'CDATA' lbracket;
|
||||||
cdata_end = rbracket rbracket greater;
|
cdata_end = rbracket rbracket greater;
|
||||||
|
|
||||||
|
@ -129,8 +120,13 @@ module Oga
|
||||||
|
|
||||||
# CDATA
|
# CDATA
|
||||||
#
|
#
|
||||||
# When processing CDATA patterns we'll emit tokens for the start tag,
|
# http://www.w3.org/TR/html-markup/syntax.html#cdata-sections
|
||||||
# the content and the end tag.
|
#
|
||||||
|
# CDATA tags are broken up into 3 parts: the start, the content and the
|
||||||
|
# end tag.
|
||||||
|
#
|
||||||
|
# In HTML CDATA tags have no meaning/are not supported. Oga does
|
||||||
|
# support them but treats their contents as plain text.
|
||||||
#
|
#
|
||||||
cdata_start
|
cdata_start
|
||||||
%{
|
%{
|
||||||
|
|
Loading…
Reference in New Issue