プロジェクト

全般

プロフィール

Vote #63316

完了

Wiki formatting character *_ and _*

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

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

0%

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

説明

The wiki formatter enforces a non-obvious dependency on strong '' and emphasis '' tags. Specifically, emphasis tag characters must be contained within strong tag characters. Thus *_This Text is Bold Italic; but This text has '' Italicized as Well* .

Making this worse is that Redmine 0.7, when importing from Trac (which uses various numbers of ' to accomplish the same thing), substitutes "text" for " '''''text''''' " when the equivalent in Redmine should be text. Lastly, Redmine does not properly parse text formatting that is enclosed in any adjacent characters without a whitespace separator: (This is Not Formatted) ( but this is ).

I suggest that the dependency be removed and that 'x' display the same as 'x'. I have mixed feelings about whether or not formatting tags should require whitespace separation from surrounding text.

Finally, I cannot get a preview of this submission, all I see is a frame with the word Preview in the upper left corner; much like a html fieldset legend with empty contents.


journals

Actually, what the Trac import routine does is output this:

'''''text''''' becomes _*text_*
--------------------------------------------------------------------------------
Let me try that again.

'''''text''''' becomes '_*text_*'
--------------------------------------------------------------------------------
The parser also produces erroneous output when using parenthesis:
'_one_' and '_two_' becomes _one_ and _two_ as it is supposed to.
but when you parenthise 'one' and 'two', what happens is:
'_(one)_' and '_(two)_' becomes _(one)_ and _(two)_ which is obviously not what it should look like.
and this happens also for bold string: '*one*' and '*two*' becomes *(one)* and *(two)*
--------------------------------------------------------------------------------
First part fixed in r3561. Last part in r3563.
--------------------------------------------------------------------------------


related_issues

relates,Closed,3089,Text formatting sometimes breaks when combined

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

  • カテゴリWiki_1 にセット
  • 対象バージョン1.0.0 (RC)_14 にセット

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

いいね!0
いいね!0