Hi

To use a markdown compiler I need to escape the selected text prior to sending
to the compiler e.g.:

-text "%SelText%" (the quotes are required arounf %SelText%)

where "%SelText%" is

a paragraph with a [link](http://www.whatever.uk "title")

does not get processed correctly as the quotes around *title* are removed
if they are not escaped first. Ideally I would want the string to look like:

a paragraph with a [link](http://www.whatever.uk \"title\")

The parser is a compiled command-line php script and getting the above string
using $argv.

So my question is the any way to automatically escape the quotes prior to
sending to the compiler?

Oh, and is the a %AllText% equivalent of %SelText%?

Cheers for the great prog.

-- 
<http://forum.pspad.com/read.php?2,53946,53946>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem