-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
why not using python builtin html unescape #9270
Comments
I guess a reason is mentioned in #329:
|
if |
The problem is undocumented. I guess it's OK as CPython is the de facto standard. Other Python implementations, such as PyPy and Jython, are moving towards using the same set of standard libraries. Ideas from other developers needed, though. |
This function is really old. As long as the tests pass (we may need to add some to cover calling it with |
If one day youtube-dl supports Python 3.4+ only, we can use it: https://docs.python.org/3/library/html.html#html.unescape. Closing now. Something not directly related to this topic but also interesting: http://bugs.python.org/issue27032 |
Used in tset_Vporn_1. Also Related to #9270
Used in test_Vporn_1. Also related to #9270
moved from 9e6dd23#commitcomment-17012611.
why the html unescape that came with python http://stackoverflow.com/a/2360639 is not used it can handle two cases that the unescapeHTML can't(
'
and the ones that start with&#X
) and it was improved in the last version(handle HTML5 named character references).The text was updated successfully, but these errors were encountered: