Bug 396545 - [MediaWiki] blank spaces at the beginning of table lines
Summary: [MediaWiki] blank spaces at the beginning of table lines
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 1.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.8.0   Edit
Assignee: Jeremie Bresson CLA
QA Contact: David Green CLA
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2012-12-13 15:46 EST by Jeremie Bresson CLA
Modified: 2013-01-19 14:04 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremie Bresson CLA 2012-12-13 15:46:01 EST
From Table help [1] page:
> The above marks [ed. {@|@, @|+@, @|-@, @!@, @|@, @|}@] must start on a new line except the double @||@ and @!!@ for optionally adding consecutive cells to a line. However, **blank spaces at the beginning of a line are ignored**


2 examples: 

bc. 
{|
 | first cell
 | second cell
 |-
 | second row
 | and cell
 |}

bc. 
 {| border="1"
 ! lorem
 ! ipsum
   |-
 | dolor
 | ameti
 |}

These examples are valid in MediaWiki but are misinterpreted in WikiText (blank space is interpreted as start for a pre bloc). Partially responsible is probably the change induced with bug 381912.

Source: David Green in Bug 304495 Comment 9 [2].

[1] http://www.mediawiki.org/wiki/Help:Tables#Wiki_table_markup_summary
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=304495#c9
Comment 1 Jeremie Bresson CLA 2012-12-19 13:17:08 EST
Patch Set 1:
https://git.eclipse.org/r/9305

Examples rendered with MediaWiki:
http://sablokesto.wikia.com/wiki/Page396545
Comment 2 David Green CLA 2013-01-19 14:04:37 EST
thanks for the excellent contribution Jeremie, the change has been merged.