Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

removed html_enc() from HTMLEntitiesEncode.pm fixes:#3563 #3601

Merged
merged 1 commit into from Sep 5, 2016

Conversation

gautamkrishnar
Copy link
Collaborator

@gautamkrishnar gautamkrishnar commented Sep 5, 2016

fixes:#3563

@GuiltyDolphin
Copy link
Member

@gautamkrishnar Thanks!

@GuiltyDolphin
Copy link
Member

GuiltyDolphin commented Sep 5, 2016

@gautamkrishnar Whoops, look like we missed a few, mind making another PR (sorry about that)?

@gautamkrishnar
Copy link
Collaborator Author

@GuiltyDolphin can you please elaborate?

@gautamkrishnar
Copy link
Collaborator Author

What's missed ?

@GuiltyDolphin
Copy link
Member

@gautamkrishnar There's a couple of html_enc calls still hanging around (do a quick grep).

@gautamkrishnar
Copy link
Collaborator Author

gautamkrishnar commented Sep 5, 2016

@GuiltyDolphin i left them untouched because this IA require html_enc to work. It is even comparing a value with the html_enc() function. Please check the code. If you are sure that it must be removed, i will open up annother pr.

@GuiltyDolphin
Copy link
Member

GuiltyDolphin commented Sep 5, 2016

@gautamkrishnar Ah, you are correct - this should be using an external library then (e.g., HTML::Entities) rather than html_enc which is designed for 'internal' use. This would help make it explicit that the encoding is for the IA's functionality rather than actual query/output encoding and remove the dependency on DDG.

Would you like to update the library usage?

@gautamkrishnar
Copy link
Collaborator Author

gautamkrishnar commented Sep 6, 2016

@GuiltyDolphin sure, i am having my eams this week. I will give it a try after that... 👍

Thanks 😄

@gautamkrishnar gautamkrishnar deleted the patch-10 branch September 6, 2016 02:57
@nishanths nishanths mentioned this pull request Sep 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove html_enc from Goodies. No longer needed :)
2 participants