Skip to content

Fixes character encoding inside of <center> + minor cleanup#50

Closed
josh18 wants to merge 2 commits intofoundation:developfrom
josh18:develop
Closed

Fixes character encoding inside of <center> + minor cleanup#50
josh18 wants to merge 2 commits intofoundation:developfrom
josh18:develop

Conversation

@josh18
Copy link
Contributor

@josh18 josh18 commented May 22, 2016

@kball might be interested in this as I just realised you were working on something similar.

Josh Hunt added 2 commits May 23, 2016 11:22
Fixes the issue where characters are escaped inside of a <center>
element.
@rafibomb
Copy link
Member

Awesome @josh18 !
@kball does this work as a comprehensive solution to the character encoding you are working on?

@rafibomb rafibomb added the bug label May 23, 2016
@rafibomb
Copy link
Member

@josh18 Looking to pull this in for v2.2 coming soon. Are you able to add a test case here so we can ensure it passes from here on out?

https://github.com/zurb/inky/blob/master/test/inky.js

@josh18
Copy link
Contributor Author

josh18 commented May 25, 2016

Sure, I haven't really written tests before so might need some help / advice. Should I modify this test doesn't decode entities if non default cheerio config is given or create a separate test?

@rafibomb
Copy link
Member

rafibomb commented Jun 1, 2016

Good question - @kball How would you set this test up?

@rafibomb rafibomb added this to the 2.2.0 milestone Jun 8, 2016
@rafibomb
Copy link
Member

@josh18 I believe #37 resolves this. We'll close this here, please submit again if you see more characters converted - thanks!

@rafibomb rafibomb closed this Jun 28, 2016
@josh18
Copy link
Contributor Author

josh18 commented Jun 29, 2016

Thanks, do you know if "Removes [data-parsed] from final output" got added?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants