Name | Escaping System |
Description | Sometimes, you need to avoid having symbols that might be misinterpreted in your data.
Denizen provides the tags ElementTag.escaped and ElementTag.unescaped to help deal with that. Escaped replaces symbols with the relevant escape-code, and unescaped replaces the escape-codes with the real symbols. Some older style tags and mechanisms may automatically use this same escaping system. The mapping of symbols to escape codes is as follows: (THESE ARE NOT TAG NAMES) | = &pipe < = < > = > newline = &nl & = & ; = &sc [ = &lb ] = &rb : = &co at sign @ = &at . = &dot \ = &bs ' = &sq " = &quo ! = &exc / = &fs ยง = &ss # = &ns = = &eq { = &lc } = &rc Also, you can input a non-breaking space via &sp Note that these are NOT tag names. They are exclusively used by the escaping system. |
Group | Useful Lists |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/EscapeTagUtil.java#L8 |