Skip to content
This repository has been archived by the owner on Jan 4, 2018. It is now read-only.

re-encoding attributes #140

Merged
merged 3 commits into from
Nov 14, 2016
Merged

re-encoding attributes #140

merged 3 commits into from
Nov 14, 2016

Conversation

adevnadia
Copy link
Contributor

solves #139

@@ -442,6 +442,10 @@ function syncSlotChildNodes (node) {
}
}

function transformAttrChars(value) {
return value.replace(/&/g, "&").replace(/"/g, """);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit Double quote shouldn't be necessary

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which ones? Second replace or "&" here?

@adevnadia adevnadia merged commit 53aa799 into master Nov 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants