プロジェクト

全般

プロフィール

Vote #72402

未完了

Problem with Wiki export to PDF / HTML / TXT — 'include' does not includes

Admin Redmine さんがほぼ4年前に追加. ほぼ4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Wiki_1
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
1
version_id:
0
issue_org_id:
11697
author_id:
56613
assigned_to_id:
0
comments:
3
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
52
ステータス-->[New]

説明

If you try to print Wiki page, using export e.g. to PDF, you can find a conflict with @

マクロ include の実行中にエラーが発生しました (ページが見つかりません)
@ Macros.

For example:
Page consists with a several include Macros, and it is full of text.

{{include(page1)}}

---

{{include(page2)}}

---

{{include(page3)}}

---

{{include(page4)}}

The final PDF version will include only plain text, that you can see in Edition mode (find above), but not final version with included Macros with text and images.


journals

I can reproduce this issue with the following environment:

<pre>
Environment:
Redmine version 2.4.2.stable
Ruby version 1.9.3-p484 (2013-11-22) [x86_64-linux]
Rails version 3.2.16
Environment production
Database adapter MySQL
</pre>

--------------------------------------------------------------------------------
Hi,

I have the same issue with the 2.6 last version, but I have another instance with 3.4.4 version where this is fixed.
This was fixed with the Version 3.0.0 (#13051).
So this ticket can be closed.

--------------------------------------------------------------------------------
Jérôme BATAILLE wrote:
> This was fixed with the Version 3.0.0 (#13051).
> So this ticket can be closed.

Thank you for pointing it out. But we cannot close this issue because PDF and html export render macros but text export does not.

IMHO, text export should export source code of the page, so macros should not be rendered.
--------------------------------------------------------------------------------


related_issues

relates,Closed,13051,Support any macro in (pdf) export for wiki's and issues

Admin Redmine さんがほぼ4年前に更新

  • カテゴリWiki_1 にセット

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

いいね!0
いいね!0