Closed westurner closed 10 years ago
Wow, great patch, thanks!
But it seems that you have triggered an encoding bug according to travis https://travis-ci.org/Psycojoker/ipython-beautifulsoup/builds/16377943#L833 ? Can you look at it and see if it's a real bug and if yes, fix it :)
Thanks in advance!
I added unittests and removed the explicit .encode('Utf-8)' of the output from
pygments.highlight`.
It reads the file with codecs.open(encoding='utf-8')
.
As this doesn't write _repr_html_
to console, I may be missing a case / changing the goalposts here.
.. waiting for a (remote) build to start.
You might also update the github project description to reaqd "Pretty HTML/XML rendering with syntax highlighting for BeautifulSoup objects in IPython notebook and qtconsole." (syntaxe -> syntax)
Merged, thanks a lot :)
I've also make some other modifications and updated the README.rst (I've removed the .md one) to match reality. If everything looks good for you, I'll release 0.2 on pypi.
Hey, thank you!
Looks great from here. I added the warning to configure_ipython_beautifulsoup
about XSS unsafeness. It may or may not be helpful to add that or something similar to the README.
Something like https://github.com/jsocol/bleach would help reduce the risk of borking the loaded IPython notebook interface or, more nefarious mangling.
Anyways, thanks again!
Added a warning, I'm waiting for travis to build, then I'll push a release on pypi.
It has been a pleasure collaborating with you :)
Oh, and thanks for all the references on the issue #2!
Nice. Anytime!
Wes Turner
On Sun, Jan 5, 2014 at 6:33 PM, Laurent Peuch notifications@github.comwrote:
Added a warning, I'm waiting for travis to build, then I'll push a release on pypi.
It has been a pleasure collaborating with you :)
— Reply to this email directly or view it on GitHubhttps://github.com/Psycojoker/ipython-beautifulsoup/pull/3#issuecomment-31620706 .
2