Opened 13 years ago

Last modified 10 years ago

#188 new defect

BarnOwl::Style::boldify sometimes fails on nested parenthetical commands

Reported by: jgross@mit.edu Owned by:
Priority: minor Milestone:
Component: internals Keywords:
Cc:

Description

BarnOwl::Style::boldify('@(@<@{@[@i(@b(foo)bar@b(baz))]}>)') gives @b(@(@<@{@[@i(@b(foo)@b[)]@b(bar@b(baz)@b[)]@b()@b[)]@b(]}>)@b[)]@b(), which has unmatched groups.

Change History (1)

comment:1 Changed 10 years ago by jgross@mit.edu

Here is a more practical example:

If I zephyr @{@color<blue>)} ()) to myself, I get a zephyr that looks like it was rendered with @b<@color{blue}))}> ())}).

Note: See TracTickets for help on using tickets.