プロジェクト

全般

プロフィール

Vote #79549

未完了

"x%x%" is rendered as "&" in Textile formatter

Admin Redmine さんが約2年前に追加. 約2年前に更新.

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

0%

予定工数:
category_id:
26
version_id:
0
issue_org_id:
29681
author_id:
332
assigned_to_id:
0
comments:
4
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

The character sequence described in the subject is always rendered as "&" in Textile formatter. You can easily reproduce this issue by entering the sequence in a description field of an issue.

You see '@=> "&"@' in the second line of the following text. Actually, it is 'x % x %" (I cannot spell it without spaces due to the bug).

2.3.3 :001 > ['x', '%', 'x', '%'].join
 => "x%x%"

journals

This is because RedCloth temporarily replaces "&" with "x % x %" (actually, there are no space characters) while converting Textile to HTML.

* source:tags/3.4.6/lib/redmine/wiki_formatting/textile/redcloth3.rb#L1010
* source:tags/3.4.6/lib/redmine/wiki_formatting/textile/redcloth3.rb#L313

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,24681,Syntax highlighter: replace CodeRay with Rouge
relates,Closed,20758,Ampersand+keyword in code highlighting
relates,Closed,35441,Inline image in Textile is not displayed if the image URL contains ampersands

Admin Redmine さんが約2年前に更新

  • カテゴリText formatting_26 にセット

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

いいね!0
いいね!0