parent
6562f32081
commit
dbb3dd305e
@ -0,0 +1,6 @@
|
|||||||
|
import re
|
||||||
|
|
||||||
|
def strip_tags(rawtext):
|
||||||
|
text = re.sub("<p>", "\n\t", rawtext)
|
||||||
|
text = re.sub("<.+?>", "", rawtext)
|
||||||
|
return text
|
||||||
Loading…
Reference in new issue