On Friday, May 5, 2017 at 2:43:03 AM UTC-7, Roger Oberholtzer wrote:
>
> I am guessing the problem is in this bit of code:
>
> wikitext += """ * [milestone:\"%(milestonename)s\"
> %(milestonename)s]""" % {
> "milestonename": m
> }
>
> where m is the string containing ". Is it possible to process the m to
> escape these " so they do not confuse the generated wikitext
> statement? My Python knowledge is sorely lacking.
>
You can use a WikiCreole style link and not have to worry about escaping
characters:
https://trac.edgewall.org/wiki/TracLinks#QuotingspaceinTracLinks
Fixed in:
https://trac-hacks.org/changeset/16572
- Ryan
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.