summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lib/pure/xmltree.nim6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/pure/xmltree.nim b/lib/pure/xmltree.nim
index e1d24ea42..2564c4465 100644
--- a/lib/pure/xmltree.nim
+++ b/lib/pure/xmltree.nim
@@ -492,8 +492,7 @@ proc addEscaped*(result: var string, s: string) =
     of '>': result.add(">")
     of '&': result.add("&")
     of '"': result.add(""")
-    of '\'': result.add("'")
-    of '/': result.add("/")
+    of '\'': result.add("'")
     else: result.add(c)
 
 proc escape*(s: string): string =
@@ -508,8 +507,7 @@ proc escape*(s: string): string =
   ##  ``>``          ``>``
   ##  ``&``          ``&``
   ##  ``"``          ``"``
-  ##  ``'``          ``'``
-  ##  ``/``          ``/``
+  ##  ``'``          ``'``
   ## ------------    -------------------
   ##
   ## You can also use `addEscaped proc <#addEscaped,string,string>`_.