Quote:
Originally Posted by zapt0
What is the easiest way to prepend arbitrary HTML to a finished article? I need to be able to inject it before a certain div inside the processed HTML.
|
You can use postprocess_html and BeautifulSoup. Find the tag and use insert.
http://www.crummy.com/software/Beaut...mentation.html