adicu/eventum — pull request #125 by bluemelodia (2014-11-22 20:18:16+00:00)
Title: Strip HTML from text

I have left the print statements and main in for now, in case you would like to test further.
The test case below contains an image that should be removed entirely, and two HTML links.

Old:

tags should be removed.
links like link should be link (http://test.com).
images should be removed (img tag, so delete the whole thing - return null)

newlines should make sense. this is another paragraph

ILikeTurtles

New:
tags should be removed.
links like link (http://test.com) should be link (http://test.com).
images should be removed (img tag, so delete the whole thing - return null)

newlines should make sense. this is another paragraph
ILikeTurtles (http://bluemelodia.com)