プロジェクト

全般

プロフィール

Vote #64297

完了

Table cell with multiple line text.

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

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

0%

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

説明

As noted in help forum "(textile syntax) Multiple lines in table cell":/boards/2/topics/show/2400#message-2495, I also miss table cell with multiple line text.

+----------+------------------------------------+
| redmine  | Multiple projects support          |
|          | Flexible role based access control.|
|          | Flexible issue tracking system     |
|          | Gantt chart and calendar           |
|          | News, documents & files management |
|          | etc.                               |
+----------+------------------------------------+

If I want to make above table using textile wiki.
The syntax below would match the expected (using http://www.textism.com/tools/textile/index.php).

| redmine  | Multiple projects support
Flexible role based access control.
Flexible issue tracking system
Gantt chart and calendar
News, documents & files management
etc.|

But it doesn't match in redmine.
I must use rowspan '/6.' to make this looks as expected. It is very inconvenient for a very complex table.

attachment:hard_breaks.patch solves above syntax works.

I hope redmine experts to check. (I'm total stranger to ruby or rails)


journals

youngseok yi wrote:
> * comment from -source:trunk/lib/redmine/wiki_formatting/textile/formatter.rb#L1955-)

wrong link posted.
source:trunk/lib/redmine/wiki_formatting/textile/formatter.rb@2018#L43 is correct
--------------------------------------------------------------------------------
for a couple of check, this patch breaks quote syntax like below.:(

<pre>
> this is quote
>> this is double.
</pre>
--------------------------------------------------------------------------------
We are affected by that too. After a migration from 0.7 to 0.8.1, a lot of tables are broken, because the newline is not handled correctly. Additionally all control commands within the cell are ignored, besides some simple bold/italic commands. So applying plain-html did not work either.
--------------------------------------------------------------------------------
same for me
--------------------------------------------------------------------------------
Fixed in r2824.
--------------------------------------------------------------------------------


related_issues

duplicates,Closed,3591,Redmine Wiki Syntax should support multiline table cells

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

  • カテゴリWiki_1 にセット
  • 対象バージョン0.9.0_6 にセット

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

いいね!0
いいね!0