theme_epublish_format_pub() returns:

return theme('page', "<div class=\"epublish\">$output</div>");

on line 824, but this will draw the entire page inside of itself. My fix was to elimate the theme() function:

return '<div class=\"epublish\">' . $output . '</div>';

...although I don't know if this is necessarily the right way to do it.

CommentFileSizeAuthor
screenshot_1.jpeg93.57 KBmatt@antinomia

Comments

sheldon rampton’s picture

Status: Active » Fixed

Thanks, fixed it!

Anonymous’s picture

Status: Fixed » Closed (fixed)