I don't know the answer to this problem but i may have a workaround.
If you're just using it to generate html have you considered Haml or
Markaby instead of erb? They might be easier to use and suffer newline
OK, I've looked at that now.
1) I'm trying to do this outside rails, so I get static data for
my fixtures generated just the once, for now. Maybe later I'll
regenerate it each time to cook up stress tests, but for now...
So this being a plugin is not actually much help unless it is
accessible outside Rails. I don't see much about that from
2) Haml seems geared to tackle the verbosity of HTML, abut I don't
immediately see from the tutorial how it helps with Ruby interpolation.
3) It's just one more wafer thin syntax to learn.
On the other hand, if you're using erb to parse text (eg: a yaml file)
then this probably wouldn't help much.
I'm generating YAML programmatically.
If nothing my hope is that you didn't know about Haml and fall
instantly in love with it
People are going to have a job spreading this meme to their parents
with things like this in the tutorial:
"Yrg'f gnxr gung shpxre naq znxr vg n Unzy Unvxh!!!!!".rot13
Programs that semi-automatically decide on site blocking may get
interesting results, as well...
Thank you for your answer, all the same. I've not closed my
mind to this possibility, and it may well have other features
I need, even for other things.