-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
several improvements #5
base: master
Are you sure you want to change the base?
Conversation
alexeibs
commented
Jul 28, 2016
- add support for 8-bit characters ('xx)
- fix issue with generating empty HTML files in some cases
- remove possibly redundant std::logic_error which causes an error on some files
for (cell_def=(*row)->CellDefs->begin(), cell=(*row)->Cells.begin(); | ||
cell!=(*row)->Cells.end(); | ||
cell!=(*row)->Cells.end() && cell_def!=(*row)->CellDefs->end(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you seen any cases when we had this error on a real rtf file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I have. I converted RTF specifaction (from here: https://www.microsoft.com/en-us/download/details.aspx?id=10725) to RTF format using LibreOffice Writer 5.1.4.2. Then I tried to make an HTML file from it using rtf2html. And I got that error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, so which list was longer? And what was in its 'extra' elements?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't remember
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to know before I pull this, as the situation itself looks very strange.
Hi, guys. |
rebase needed, probably due to #8, which added unicode support |