SpecialSection Event
Fired when a special section is encountered.
Syntax
rest.on('SpecialSection', [callback])
Callback
The 'callback' is called when the 'SpecialSection' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.sectionId e.text
Remarks
The SpecialSection event is fired whenever a special section (such as <![ CDATA [ ..text... ]]>) is found in the document.
The full text of the special section is provided by the Text parameter, while the SectionId parameter provides the section identifier (e.g. "CDATA").