<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,7 @@
+== 1.4.0 2008-04-26
+
+* install_website: txt webpages are processed through ERb
+
 == 1.3.7 2008-03-04
 
 * Update to jsunittest 0.6.3 with IE6/7 fixes</diff>
      <filename>History.txt</filename>
    </modified>
    <modified>
      <diff>@@ -1,8 +1,8 @@
 module Newjs #:nodoc:
   module VERSION #:nodoc:
     MAJOR = 1
-    MINOR = 3
-    TINY  = 7
+    MINOR = 4
+    TINY  = 0
 
     STRING = [MAJOR, MINOR, TINY].join('.')
   end</diff>
      <filename>lib/newjs/version.rb</filename>
    </modified>
    <modified>
      <diff>@@ -44,7 +44,7 @@ end
 if ARGV.length &gt;= 1
   src, template = ARGV
   template ||= File.join(File.dirname(__FILE__), '/../website/template.html.erb')
-  
+
 else
   puts(&quot;Usage: #{File.split($0).last} source.txt [template.html.erb] &gt; output.html&quot;)
   exit!
@@ -56,7 +56,8 @@ title = nil
 body = nil
 File.open(src) do |fsrc|
   title_text = fsrc.readline
-  body_text = fsrc.read
+  body_text_template = fsrc.read
+  body_text = ERB.new(body_text_template).result(binding)
   syntax_items = []
   body_text.gsub!(%r!&lt;(pre|code)[^&gt;]*?syntax=['&quot;]([^'&quot;]+)[^&gt;]*&gt;(.*?)&lt;/\1&gt;!m){
     ident = syntax_items.length</diff>
      <filename>newjs_generators/install_website/templates/script/txt2html</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a76ee8f49dc5e4151af0efd887094536d329bda7</id>
    </parent>
  </parents>
  <author>
    <name>Dr Nic Williams</name>
    <email>drnicwilliams@gmail.com</email>
  </author>
  <url>http://github.com/drnic/newjs/commit/f5fa795bcd9c969a80adbed8b2e023954e389809</url>
  <id>f5fa795bcd9c969a80adbed8b2e023954e389809</id>
  <committed-date>2008-04-26T02:26:51-07:00</committed-date>
  <authored-date>2008-04-26T02:26:51-07:00</authored-date>
  <message>install_website: txt webpages are processed through ERb</message>
  <tree>4aa41b064be98a63a7cbd70424dec28670cefdfc</tree>
  <committer>
    <name>Dr Nic Williams</name>
    <email>drnicwilliams@gmail.com</email>
  </committer>
</commit>
