Permalink
Browse files

Fix attributes that should be quoted

  • Loading branch information...
Daniel15 committed Sep 5, 2017
1 parent 024a6e6 commit 2c7a667dd93daf94f66f8a32c0227d6c9952605d
Showing with 7 additions and 7 deletions.
  1. +7 −7 src/htmltojsx.js
@@ -49,7 +49,7 @@ var ELEMENT_TAG_NAME_MAPPING = {
canvas: 'canvas',
circle: 'circle',
clippath: 'clipPath',
color-profile: 'color',
'color-profile': 'colorProfile',
cursor: 'cursor',
defs: 'defs',
desc: 'desc',
@@ -82,11 +82,11 @@ var ELEMENT_TAG_NAME_MAPPING = {
feturbulence: 'feTurbulence',
filter: 'filter',
font: 'font',
font-face: 'font',
font-face-format: 'font',
font-face-name: 'font',
font-face-src: 'font',
font-face-uri: 'font',
'font-face': 'fontFace',
'font-face-format': 'fontFaceFormat',
'font-face-name': 'fontFaceName',
'font-face-src': 'fontFaceSrc',
'font-face-uri': 'fontFaceUri',
foreignobject: 'foreignObject',
g: 'g',
glyph: 'glyph',
@@ -105,7 +105,7 @@ var ELEMENT_TAG_NAME_MAPPING = {
meshpatch: 'meshpatch',
meshrow: 'meshrow',
metadata: 'metadata',
missing-glyph: 'missing',
'missing-glyph': 'missingGlyph',
mpath: 'mpath',
path: 'path',
pattern: 'pattern',

0 comments on commit 2c7a667

Please sign in to comment.