joshareed / grass

Groovy Authoring for Static Sites
Other
12 stars 2 forks source link

Feed plugin tries to re-evaluate any text that contains a $ #14

Closed jwill closed 10 years ago

jwill commented 10 years ago

Steps to reproduce:

  1. Create document that contains escaped $ (ie \$800)
  2. Run grass

Expected outcome: Properly generates both post and feed/rss text.

Outcome: Properly encodes post but uses post text to encode feed summary and gives SimpleTemplateEngine error

SimpleTemplateScript2687.groovy: 1712: illegal string body character after dollar sign; solution: either escape a literal dollar sign "\$5" or bracket the value expression "${5}" @ line 1712, column 63. the bells and whistles costs $4,500. It