Project

General

Profile

Actions

Defect #910

closed

PDF export fails on certains HTML entities

Added by Marc Dequènes over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2008-03-21
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I wanted to use < or > symbols, so i tried using

&lt;example&gt;
or
<pre><example></pre>

This is working fine in display, but either solution resulted in having HTML entities remaining in the PDF export.

(btw, there is no adequate bug category for exporters, so leaving it blank)

Actions #1

Updated by Jean-Philippe Lang over 16 years ago

This comment that contains <example> seems to be rendered fine in the pdf, doesn't it ?

Actions #2

Updated by Marc Dequènes over 16 years ago

test: <example>

Actions #3

Updated by Marc Dequènes over 16 years ago

In my 0.6.4 installation, if i just use <example> directy, it is rendered well in the PDF, but is rendered blank in the web page because neither < or > are tranlated into HTML entities. So i guess this bug is fixed in the SVN version.

Nevertheless, in your working example, only < is translated, which allows proper HTML rendering, but > isn't and should.

Actions #4

Updated by Marc Dequènes over 16 years ago

Yes, it seems to be solved in 0.7 devel. As the release is coming soon, i'll check after upgrade and update or close the ticket appropriately.

Actions #5

Updated by Marc Dequènes over 16 years ago

Arf, My bad, '>' is still not encoded properly, i missed it.

Actions #6

Updated by Jean-Philippe Lang over 16 years ago

  • Status changed from New to Closed
  • Target version set to 0.7
  • Resolution set to Fixed

Fixed in r1348. '>' are now replaced by html entities.

Actions

Also available in: Atom PDF