Skip to content

Commit 6eda007

Browse files
committed
br after image
1 parent b32758a commit 6eda007

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/odr/internal/html/wvware_wrapper.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,8 @@ void print_graphics(wvParseStruct *ps, int /*graphicstype*/, int width,
355355
})
356356
.set_style("width:" + std::to_string(width) +
357357
"px;height:" + std::to_string(height) + "px"));
358+
out.write_element_begin(
359+
"br", HtmlElementOptions().set_close_type(HtmlCloseType::trailing));
358360
}
359361

360362
void dump_bitmap(wvParseStruct *ps, const std::string &name,

0 commit comments

Comments
 (0)