Description

A minor bug, but it can be confusing:

When using unbalanced double or triple quotes inside a table, we get unexpected results for the rest of the page.

See the example below: After the unbalanced quotes around 'col2' in the first table, all other quotes are ignored (or incorrectly interpreted) in the rest of the page, including the second table.

It's especially confusing when there's lots of regular text between the unbalanced quotes and the next bold or italics text.

Example

||'''col1'''||'''col2''||
||''A''||'''B'''||

''Some'' '''text'''... 

||'''XX'''||''YY''||
||''A''||'''B'''||

col1

col2

A

B

Some text...

XX

YY

A

B

Details

This Wiki.

Workaround

Always use balanced quotes.

Discussion

The cause to this bug is the new fix to the unclosed strong, em and u tags, done in the formatter. The formatter closes the tag on every block element, but does not update the state of the parser.

We can fix this by moving the fix to the parser, or moving the state to the formatter, but this will not fix the <a><b></a></b> problem. Or just disable the fix for the unclosed tags, which will create invalid html, but at least predictable wiki markup.

The real fix should solve that <a><b></a></b> as well, but it will be bigger fix, maybe wait with that to 1.3.1.

Plan

  • Priority:
  • Assigned to:
  • Status: markup bugs are not moin bugs, they are fixed in the markup, not in moin


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/TablesWithUnbalancedQuotes (last edited 2007-10-29 19:20:43 by localhost)