Fix cleaned_markdown_conversion so that it doesn't bork on empty strings
authorChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 21 Jun 2011 02:01:05 +0000 (21:01 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 21 Jun 2011 02:01:05 +0000 (21:01 -0500)
commit826888465397ef8915b3a4a538ad26dff08d2625
tree6a086495c6cc80defe145f9531d9ccab1e29aa57
parent5c441e75ebc4ad63c3a5362d9bc451abe97984d2
Fix cleaned_markdown_conversion so that it doesn't bork on empty strings

Basically, clean_html would throw an error on '', so we just return ''
"if not text"
mediagoblin/util.py