Skip to content

Commit

Permalink
Fixed an invalid escape char in attribute name regexp (facebook#6772)
Browse files Browse the repository at this point in the history
more info: https://www.w3.org/TR/xml/#NT-Name
(cherry picked from commit 32c750d)
  • Loading branch information
nbjahan authored and zpao committed Jun 8, 2016
1 parent 94d3411 commit 4fd847d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/dom/shared/DOMProperty.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ var DOMProperty = {
ROOT_ATTRIBUTE_NAME: 'data-reactroot',

ATTRIBUTE_NAME_START_CHAR: ATTRIBUTE_NAME_START_CHAR,
ATTRIBUTE_NAME_CHAR: ATTRIBUTE_NAME_START_CHAR + '\\-.0-9\\uB7\\u0300-\\u036F\\u203F-\\u2040',
ATTRIBUTE_NAME_CHAR: ATTRIBUTE_NAME_START_CHAR + '\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040',

/**
* Map from property "standard name" to an object with info about how to set
Expand Down

0 comments on commit 4fd847d

Please sign in to comment.