From 8dcc49ee7859e0a24faf42f1ab48565cc98ea5c8 Mon Sep 17 00:00:00 2001
From: Lu Wang
Date: Mon, 6 Aug 2012 14:29:39 +0800
Subject: [PATCH] use div instead of p
---
src/HTMLRenderer.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/HTMLRenderer.cc b/src/HTMLRenderer.cc
index b27d3de..4e287e5 100644
--- a/src/HTMLRenderer.cc
+++ b/src/HTMLRenderer.cc
@@ -282,7 +282,7 @@ void HTMLRenderer::close_cur_line()
{
if(cur_line != nullptr)
{
- html_fout << "
";
+ html_fout << "";
if(param->readable) html_fout << endl;
delete cur_line;
@@ -434,7 +434,7 @@ void HTMLRenderer::endString(GfxState *state) {
// TODO: optimize text matrix search/install
// TODO: position might not be accurate
- html_fout << boost::format("getY() << "px;"
<< "left:" << cur_string->getX() << "px;"
<< "top:" << (pageHeight - cur_string->getY() - cur_state->getFont()->getAscent() * cur_state->getFontSize()) << "px;"