Edgewall Software

Opened 17 years ago

Closed 17 years ago

#4928 closed defect (worksforme)

one line {{{ }}} does not format correctly — at Version 1

Reported by: phpxcaceh@… Owned by: Christian Boos
Priority: normal Milestone:
Component: wiki system Version: 0.10.3
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

4 lines wiki is showing 2 lines code fine:

{{{
{{{
}}}
}}}

is displayed as:

{{{
}}}

but not with 1 line: "{{{ {{{ }}} }}}" is displayed as: " {{{ }}}".

the left 3 { is in right fixed-width font, but 3 } on the right is in normal font

Change History (1)

comment:1 by Christian Boos, 17 years ago

Description: modified (diff)
Milestone: 0.10.4
Resolution: worksforme
Status: newclosed

Yes, that's a known limitation. It would require a lot of added complexity in the parser to get the quoting with {{{... }}} do the right thing for nested {{{ or }}} pairs, and in practice it's not really needed, as there is the other quoting ` ... ` which can be used to embed triple curly braces when needed.

The above paragraph itself demonstrate this. See its corresponding Wiki text:

... to get the quoting with `{{{... }}}` do the right thing for 
nested `{{{` or `}}}` pairs, and in practice it's not really needed, 
as there is the other quoting {{{` ... `}}} which can be used to 
embed triple curly braces when needed.
Note: See TracTickets for help on using tickets.