mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
..
This commit is contained in:
parent
6746a3a0ab
commit
91347b2683
@ -78,7 +78,7 @@ public:
|
||||
void append_state(const HTMLState & html_state);
|
||||
void dump_text(std::ostream & out);
|
||||
|
||||
bool empty(void) const { return text.empty(); }
|
||||
bool text_empty(void) const { return text.empty(); }
|
||||
void clear(void);
|
||||
|
||||
/*
|
||||
|
@ -63,7 +63,7 @@ void HTMLTextPage::clear(void)
|
||||
|
||||
void HTMLTextPage::open_new_line(void)
|
||||
{
|
||||
if(last_line && (last_line->empty()))
|
||||
if(last_line && (last_line->text_empty()))
|
||||
{
|
||||
// state and offsets might be nonempty
|
||||
last_line->clear();
|
||||
|
Loading…
Reference in New Issue
Block a user