Originally Posted by ldolse
It's in the conversion options, under structure detection. I think the default is:
//*[name()='h1' or name()='h2']
Which will insert page breaks before all <h1> and <h2> tags. Just change it to '/' to disable it.
Thank you, Idolse, but I am having the page break problem with '/' as the default. Calibre is inserting page breaks before and after my images instead of keeping them at the top of the page of each new chapter.
I'm not familiar enough with html to know exactly what is wrong, but the image file is contained within <div> tags prior to the <h2> tags.