View Single Post
Old 07-20-2011, 02:49 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,878
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by zapt0 View Post
Hello! I am working on a recipe and need to prepend a title (<h1> tags in html) before every article, but I have found this is not as common of a problem as I anticipated.

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.
If this is because you've defined h1 to be a pagebreak, then that's just really poor code.
JSWolf is online now   Reply With Quote