Project

General

Profile

Actions

Defect #13262

closed

Generating PDF of issue with some HTML entities causes error

Added by Laszlo Kenyeres over 12 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
PDF export
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix
Affected version:

Description

HR tag with width:
<hr align="center" width="100%" />
width="100%" causes error

Nested tables:
<table>
<tr>
<td>
<table>
<tr><td>nested cell</td></tr>
</table>
</td>
<td>normal</td>
</tr>
</table>

Actions #1

Updated by Filou Centrinov over 12 years ago

How you insert html-Tags? As far I know Redmine treats html-tags like normal text by default. Do you use a plugin for that?

Actions #2

Updated by Laszlo Kenyeres over 12 years ago

Filou Centrinov wrote:

How you insert html-Tags? As far I know Redmine treats html-tags like normal text by default. Do you use a plugin for that?

Redmine tcpdf library support any html.(? I thought so.)
I tested this feature but failed. (bug? )
I think this is rather a new feature, to use tcpdf with any html. (or?)
Yes, i use external plugin to test tcpdf, ckeditor. (not suitable for the task?)

Without ckeditor, with custom development, is tcpdf able to convert any html to pdf?

thank you for your time

Actions #3

Updated by Filou Centrinov over 12 years ago

Yes, tcpdf is able to interprets HTML, but redmine won't print interpreted html-Tags, because HTML-tags are handled as text.
I you don't care about how it's printed, you can use a macro to insert HTML

Actions #4

Updated by Go MAEDA almost 4 years ago

  • Status changed from New to Closed
  • Resolution set to Wont fix

The TCPDF based PDF library was extracted as rbpdf gem in Redmine 2.6.0 (#17570) and the current versions of Redmine don't include a library for generating PDF.

If you find problems in the gem that cannot be reproduced with plain Redmine, please report the issue to the rbpdf project.

Actions

Also available in: Atom PDF