Edgewall Software

Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#282 closed enhancement (fixed)

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.

Change History (2)

comment:1 Changed 16 years ago by cmlenz

  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 15 years ago by cmlenz

  • Milestone changed from 0.5.2 to 0.6

Milestone 0.5.2 deleted

Note: See TracTickets for help on using tickets.