| Syntax |
mainResponder.neuterText (s, flNeuterMacros, flNeuterTags)
|
| Params |
s is a string.
flNeuterMacros is a boolean. Default: true.
flNeuterTags is a boolean. Default: true.
|
| Action |
If flNeuterMacros is true, replace all occurences of opening curly brace "[Macro error: Can't tokenize the line "\" in s with the corresponding HTML entity. If the #enableSafeMacros attribute i..." because the character "\" (U+005C) isn't part of the language.] <i>Beep!")
// "<Beep>, {speaker.beep ()} <i>Beep!</i>"
|
| Notes |
You can use this verb to clean up any text which entered your system from the outside world to make rendering it through the website framework safer.
As of Frontier 6.1, the low-level work is done by the new html.neuterMacros and html.neuterTags kernel verbs.
|
| See Also |
mainResponder.neuterOutline
html.neuterMacros
html.neuterTags
|