Skip to content

Remove buffer length limit and removed decodeEntities#6

Open
danerich wants to merge 3 commits intonazarlitvin:masterfrom
danerich:patch1
Open

Remove buffer length limit and removed decodeEntities#6
danerich wants to merge 3 commits intonazarlitvin:masterfrom
danerich:patch1

Conversation

@danerich
Copy link

@danerich danerich commented Dec 7, 2017

I have removed the data.length to stop the HTML file being clipped.

I altered the cheerio.load to not decodeEntities. So the URL with tracking added is:
?utm_source=in-house&utm_medium=email&utm_campaign=name

and not:
?utm_source=in-house&utm_medium=email&utm_campaign=name

I have also added an ignore for the "tel:" URL's. I don't know if it would be better to only work on a URL id it is http:// or https://

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.

1 participant