|
Neutering a tag means replacing the leading "<" with the corresponding entity "<".
If html.neuterTags identifies a tag in the input string, it checks the table pointed to by adrTable for an object with the same name as the tag.
If there is no corresponding object in the table the tag is neutered.
If there is a corresponding object and it is a table, then it must contain two items: flLegal, a boolean specifying whether the tag is legal, and flClose, a boolean specifying whether an appropriate number of closing tags should be emitted to keep this tag balanced in the target string.
If there is a corresponding object and it is not a table, it is coerced to a boolean. If the result is true, the tag is assumed to be legal, but an appropriate number of closing tags will be emitted. If the result is false, the tag is neutered.
This verb is new in Frontier 6.1.
|