Edgewall Software
Modify

Opened 13 years ago

Last modified 13 years ago

#10312 new enhancement

Multiple sub tables are not correctly processed by the WikiProcessor

Reported by: f.rochlitzer@… Owned by:
Priority: normal Milestone: topic-wikiengine
Component: wiki system Version: 0.12.2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

The following table definition isn't processed correctly:

{{{
#!table style="margin: auto"
	{{{#!tr
		{{{#!th style="background: lightgray"
			Head Column1
		}}}
		{{{#!th style="background: lightgray"
			Head Column2
		}}}
	}}}
	{{{#!tr
		{{{#!td
			{{{#!table
				{{{#!tr
					{{{#!th style="background: lightgray"
						Sub head column1
					}}}
					{{{#!th style="background: lightgray"
						Sub head column2
					}}}
				}}}
                                {{{#!tr
					{{{#!td
						Sub column1
					}}}
					{{{#!td
						Sub column2
					}}}
				}}}
			}}}
		}}}
		{{{#!td
			{{{#!table
				{{{#!tr
					{{{#!th style="background: lightgray"
						Sub head column1
					}}}
					{{{#!th style="background: lightgray"
						Sub head column2
					}}}
				}}}
                                {{{#!tr
					{{{#!td
						Sub column1
					}}}
					{{{#!td
						Sub column2
					}}}
				}}}
			}}}
		}}}
	}}}
}}}

I get allways the following error message: !#tr must contain at most one table

If you remove the table definition in the last column, the code will processed correctly.

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 13 years ago

Milestone: 0.14-wikiengine
Type: defectenhancement

Well, yes, this is a known limitation, so marking this as an ER ;-)

Depends on #4431.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.