Skip to content

Conversation

benjarwar
Copy link
Contributor

Some svg attributes contain colons (e.g. xlink:href) or can be camelCased
(e.g. viewBox). This updates createVStartTag to handle these variations by
correctly finding their locations within the node hash.

Fixes #8.

Some svg attributes contain colons (e.g. `xlink:href`) or can be camelCased
(e.g. viewBox). This updates `createVStartTag` to handle these variations by
correctly finding their locations within the node hash.

Fixes vuejs#8.
@codecov-io
Copy link

codecov-io commented Jun 27, 2017

Codecov Report

Merging #9 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master       #9   +/-   ##
=======================================
  Coverage   95.62%   95.62%           
=======================================
  Files          10       10           
  Lines         503      503           
=======================================
  Hits          481      481           
  Misses         22       22
Impacted Files Coverage Δ
lib/transform-html.js 97.4% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b9497a6...2aa9a5f. Read the comment docs.

@mysticatea
Copy link
Member

Thank you very much!

@mysticatea mysticatea merged commit 65a673a into vuejs:master Jun 27, 2017
@benjarwar benjarwar deleted the bugfix/svg-attr-parse-error branch June 27, 2017 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants