Edgewall Software

Ticket #282 (closed enhancement: fixed)

Opened 21 months ago

Last modified 7 months ago

Document $$ escape convention

Reported by: dclark@… Owned by: cmlenz
Priority: minor Milestone: 0.6
Component: Documentation Version: 0.5
Keywords: dollarsign dollar sign $ Cc:

Description

As far as I can see the syntax of using double dollar sign ($$) in a genshi text template to indicate a single dollar sign ($) in the output text isn't documented, in for example:

The only way I found it was from knowledge that that convention is used in Makefiles sometimes; later I found these related tickets: #92 #117 and these mailing list posts:

For the project I work on, Bcfg2, we've doc'ed this here:

This would seem to be a pretty common use case; for example with any type of file if you want to have subversion (svn) keywords like $Id$, you need to have $$Id$$ in the Genshi template file.

Attachments

Change History

Changed 18 months ago by cmlenz

  • status changed from new to closed
  • resolution set to fixed

Changed 7 months ago by cmlenz

  • milestone changed from 0.5.2 to 0.6

Milestone 0.5.2 deleted

Add/Change #282 (Document $$ escape convention)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.