Opened 2 years ago

Closed 2 years ago

Last modified 21 months ago

#496 closed defect (fixed)

Incorrect result of nested mtl:for

Reported by: Maxim Reznik Owned by: Maxim Reznik
Priority: major Milestone: 18.0
Component: Matreshka - XML Processor Version:
Keywords: Cc:

Description

Substitution of nested mtl:for is incorrect.

See test for #454 where 'expected' text is wrong:

     post 1
       post 2 -> subitem 1-2
       post 2 -> subitem 1-2
        post 2
       post 2 -> subitem 2-2
       post 2 -> subitem 2-2

Correct value should be:

     post 1
       post 1 -> subitem 1-1
       post 1 -> subitem 1-2
        post 2
       post 2 -> subitem 2-1
       post 2 -> subitem 2-2

Change History (2)

comment:1 by Maxim Reznik, 2 years ago

Owner: set to Maxim Reznik
Resolution: fixed
Status: newclosed

In 5859:

Flush all accamulated characters at the end of loop

To apply any substitutions in them. Closes #496

comment:2 by vadim.godunko, 21 months ago

Milestone: 0.8.018.0

Milestone renamed

Note: See TracTickets for help on using tickets.