From: Andrew
Date: 2003-05-30T15:26:32+09:00
Subject: amrita parsing
Hello,
I've run into a problem with amrita not liking spaces in directory names.
This
gets translated into
but this
is fine.
Any reason why this would happen?
I'm using amrita 1.0.2, ruby 1.6.8 and strscan 0.6.7 in windows 2000.
Another problem I've encountered is that I was getting an error about
embedding a
in a
. My code looked like this...
stuff
It accepted this though...
stuff
My ruby code for both issues mentioned in this post use the following ruby
code...
tmpl = TemplateFile.new("main_template.html")
data = {
...
}
tmpl.prettyprint = true
tmpl.expand(STDOUT, data)
Note: I've used .. for brevity.
Thanks,
Andrew