プロジェクト

全般

プロフィール

Vote #62901

完了

PDF export fails on certains HTML entities

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
-
対象バージョン:
開始日:
2008/03/21
期日:
進捗率:

0%

予定工数:
category_id:
0
version_id:
1
issue_org_id:
910
author_id:
453
assigned_to_id:
0
comments:
6
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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

<example>
or

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)


journals

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

--------------------------------------------------------------------------------
test: <example>

--------------------------------------------------------------------------------
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.

--------------------------------------------------------------------------------
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.

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

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

Admin Redmine さんが3年以上前に更新

  • 対象バージョン0.7_1 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0