#3228: The ! escape character doesn't handle ` properly
-------------------------------------+--------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: general | Version: 0.9.5
Severity: normal | Keywords:
-------------------------------------+--------------------------------------
I would expect the following:
{{{
`echo MPD_SECRETWORD=`!``whoami`!`` > ~/.mpd.conf`
}}}
to generate a whole line that is in monospace except for the two
backticks. (The first backtick puts us in monospace, the second one takes
us out, the exclamation point escapes the third backtick so it is
displayed, and the fourth backtick returns us to monospace.) Instead, it
generates something like:
{{{
echo MPD_SECRETWORD=``whoami! > ~/.mpd.conf
}}}
except that the whoami is in a proportional font. I haven't found any
combination of exclamation points and backticks that fix this problem.
The main problem is that it is not possible to render a backtick inside a
backticked expression, and !{{{ !}}} is not always suitable because of its
blocked layout.
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/3228>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets