Skip to content

Commit d03361b

Browse files
elements with colons should be double escaped [ci skip]
1 parent 7300b1c commit d03361b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Docs/Element/Element.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Creates a new Element of the type passed in.
168168

169169
### Note:
170170

171-
Because the element name is parsed as a CSS selector, colons in namespaced tags have to be escaped. So `new Element('fb\:name')` becomes `<fb:name>`.
171+
Because the element name is parsed as a CSS selector, colons in namespaced tags have to be escaped. So `new Element('fb\\:name')` becomes `<fb:name>`.
172172

173173
### See Also:
174174

0 commit comments

Comments
 (0)