]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
Document hypertext escaping (#11374)
authorWuzzy <wuzzy2@mail.ru>
Tue, 22 Jun 2021 12:42:40 +0000 (12:42 +0000)
committerGitHub <noreply@github.com>
Tue, 22 Jun 2021 12:42:40 +0000 (13:42 +0100)
doc/lua_api.txt

index ded41633371261681ac3172f07daa7957b182648..aa59898d761efc801247d1d4426b493136e20d29 100644 (file)
@@ -2980,6 +2980,9 @@ Some tags can enclose text, they open with `<tagname>` and close with `</tagname
 Tags can have attributes, in that case, attributes are in the opening tag in
 form of a key/value separated with equal signs. Attribute values should not be quoted.
 
+If you want to insert a literal greater-than sign or a backslash into the text,
+you must escape it by preceding it with a backslash.
+
 These are the technically basic tags but see below for usual tags. Base tags are:
 
 `<style color=... font=... size=...>...</style>`