Skip to content

Commit

Permalink
Merge pull request #2752 from SergioCrisostomo/update-docs
Browse files Browse the repository at this point in the history
elements with colons should be double escaped [ci skip]
  • Loading branch information
Arian Stolwijk committed Nov 10, 2015
2 parents 7300b1c + d03361b commit 61efb25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Docs/Element/Element.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Creates a new Element of the type passed in.

### Note:

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>`.
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>`.

### See Also:

Expand Down

0 comments on commit 61efb25

Please sign in to comment.