Skip to content

add logic to strip UTF8 BOM#13

Open
floyd-may wants to merge 1 commit intoarnauddri:masterfrom
floyd-may:utf8-bom-fix
Open

add logic to strip UTF8 BOM#13
floyd-may wants to merge 1 commit intoarnauddri:masterfrom
floyd-may:utf8-bom-fix

Conversation

@floyd-may
Copy link

This fixes #12.

@@ -0,0 +1 @@
<h1>Example HTML Template</h1>
Copy link
Author

Choose a reason for hiding this comment

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

Doesn't really show very well here, but this file has a UTF8 BOM.

@floyd-may
Copy link
Author

I changed the way the assertions work so that it's easier to see why the test fails. You can see that in the failing Travis build 😄

I also see that the CI build is failing because of the order that the files appear in the output. I suspect that the order is OS dependent. It may be that processing the files asynchronously might not be the best option for keeping the tests stable. Just my $0.02.

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.

UTF-8 BOM is inserted as Unicode character

1 participant