Browse Source

Fix escaping \ in classref converted from XML

Fixes #1486.
Rémi Verschelde 7 years ago
parent
commit
3115cc576d
3 changed files with 3 additions and 3 deletions
  1. 1 1
      classes/[email protected]
  2. 1 1
      classes/class_richtextlabel.rst
  3. 1 1
      classes/class_xmlparser.rst

+ 1 - 1
classes/[email protected]

@@ -532,7 +532,7 @@ enum **KeyList**
 - **KEY_Y** = **89** --- Y Key
 - **KEY_Y** = **89** --- Y Key
 - **KEY_Z** = **90** --- Z Key
 - **KEY_Z** = **90** --- Z Key
 - **KEY_BRACKETLEFT** = **91** --- [ key
 - **KEY_BRACKETLEFT** = **91** --- [ key
-- **KEY_BACKSLASH** = **92** --- \ key
+- **KEY_BACKSLASH** = **92** --- \\ key
 - **KEY_BRACKETRIGHT** = **93** --- ] key
 - **KEY_BRACKETRIGHT** = **93** --- ] key
 - **KEY_ASCIICIRCUM** = **94** --- ^ key
 - **KEY_ASCIICIRCUM** = **94** --- ^ key
 - **KEY_UNDERSCORE** = **95** --- \_ key
 - **KEY_UNDERSCORE** = **95** --- \_ key

+ 1 - 1
classes/class_richtextlabel.rst

@@ -128,7 +128,7 @@ Member Variables
 
 
   .. _class_RichTextLabel_tab_size:
   .. _class_RichTextLabel_tab_size:
 
 
-- :ref:`int<class_int>` **tab_size** - The number of spaces associated with a single tab length. Does not affect "\t" in text tags, only indent tags.
+- :ref:`int<class_int>` **tab_size** - The number of spaces associated with a single tab length. Does not affect "\\t" in text tags, only indent tags.
 
 
   .. _class_RichTextLabel_text:
   .. _class_RichTextLabel_text:
 
 

+ 1 - 1
classes/class_xmlparser.rst

@@ -149,7 +149,7 @@ Check whether or not the current element has a certain attribute.
 
 
 - :ref:`bool<class_bool>` **is_empty** **(** **)** const
 - :ref:`bool<class_bool>` **is_empty** **(** **)** const
 
 
-Check whether the current element is empty (this only works for completely empty tags, e.g. <element \>).
+Check whether the current element is empty (this only works for completely empty tags, e.g. <element \\>).
 
 
 .. _class_XMLParser_open:
 .. _class_XMLParser_open: