プロジェクト

全般

プロフィール

Vote #80222

未完了

Improper parsing of wiki links

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

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

0%

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

説明

In case where wiki link is followed by opening parenthesis, it seems like parsing goes wild. For instance this sequence:

One two [[three|The Three]] (four) five.

should produce this output:

One two The Three (four) five.

but it produces this:

One two [three|The Three] five.

It actually acts, as external link, where "four" is the URL, but:

  • there is a space between last closing square bracket and opening parenthesis (I would understand this behavior when there would be no space),
  • square brackets are doubled, but external link mode took precedence over wiki link.

Currently one needs to escape opening parenthesis with backslash to force parser to see such a sequence as wiki link, not external link. IMO this looks like a glitch.


journals

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

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

いいね!0
いいね!0