Feature #12734

Add table reference to textile help

Added by Daniel Felix almost 6 years ago. Updated almost 4 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Documentation
Target version:3.0.0
Resolution:Fixed

Description

Add some help for table definitions in textile help.

http://www.redmine.org/help/wiki_syntax.html

issue-12734.patch Magnifier (59.5 KB) Matt Wiseley, 2014-12-13 23:37

issue-12734.patch Magnifier (66.5 KB) Matt Wiseley, 2014-12-14 20:28


Related issues

Related to Redmine - Feature #1575: Markup help and toolbars lacks tables New 2008-07-04

Associated revisions

Revision 13762
Added by Jean-Philippe Lang almost 4 years ago

Adds table reference to textile help (#12734).

Patch by Matt Wiseley.

Revision 13822
Added by Toshi MARUYAMA almost 4 years ago

revert r13762 because character encodings are broken (#12734)

Revision 13825
Added by Toshi MARUYAMA almost 4 years ago

Adds table reference to textile help (#12734).

Patch by Matt Wiseley.

History

#1 Updated by Toshi MARUYAMA almost 6 years ago

  • Category set to Documentation

#2 Updated by Matt Wiseley almost 4 years ago

Attached is a patch that adds a Tables section to all of the wiki_syntax.html files.

#3 Updated by Jean-Philippe Lang almost 4 years ago

Thanks for the patch but it seems the example is wrong:

|_ A |_ B |_ C |_ D |
| 1 | 2 |/2 span 2 |

renders as:

_ A _ B _ C _ D
1 2 /2 span 2

Table headers need a dot after the underscore. The slash is used for rowspan, and the backslash for colspan and they need a dot too. The example should be something like:

|_. A |_. B |_. C |_. D |
| 1 | 2 | 3 | 4 |
|/2. rowspan | 2 |\2. colspan |
| 2 | 3 | 4 |

which renders as:

A B C D
1 2 3 4
rowspan 2 colspan
2 3 4

#5 Updated by Matt Wiseley almost 4 years ago

My apologies. The hand-coded table next to the example fooled me into thinking the example worked and I forgot to actually run it through Textile.

I've attached a new patch file that adds rowspan and has been tested in Redmine's Textile engine.

#6 Updated by Jean-Philippe Lang almost 4 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 3.0.0
  • Resolution set to Fixed

Patch committed, thanks!

#7 Updated by Toshi MARUYAMA almost 4 years ago

  • Status changed from Closed to Reopened

Some character encodings are broken.

#8 Updated by Toshi MARUYAMA almost 4 years ago

  • Status changed from Reopened to Closed

Toshi MARUYAMA wrote:

Some character encodings are broken.

Fixed by r13825.

#9 Updated by Go MAEDA over 3 years ago

  • Related to Feature #1575: Markup help and toolbars lacks tables added

Also available in: Atom PDF