Edgewall Software
Modify

Ticket #10312 (new enhancement)

Opened 10 months ago

Last modified 10 months ago

Multiple sub tables are not correctly processed by the WikiProcessor

Reported by: f.rochlitzer@… Owned by:
Priority: normal Milestone: 0.14-wikiengine
Component: wiki system Version: 0.12.2
Severity: normal Keywords:
Cc:
Release Notes:
API 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

Change History

comment:1 Changed 10 months ago by cboos

  • Milestone set to 0.14-wikiengine
  • Type changed from defect to enhancement

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

Depends on #4431.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from (none). Next status will be 'new'
The owner will be changed from (none) to anonymous. Next status will be 'assigned'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.