Jeff Barczewski
2007-Mar-22 18:11 UTC
[Masterview-users] Found a bug in gen_replace - fixed in trunk
On 3/21/07, Frisby Jon <jfrisby at mrjoy.com> wrote:> > First, the bug. In parser.rb, this: > def generate_replace(value) > @renderer.append_raw ERB_EVAL_START+value+ERB_EVAL_END > end > > Should be: > def generate_replace(value) > @renderer.append_raw ERB_CONTENT_START+value+ERB_EVAL_END > end > > In order to behave as documented at: > http://masterview.org/directives.html#mv_gen_replace > >I have added a couple tests and patched mv:gen_replace to use <%= %> as it should have rather than <% %> The code is checked into the trunk at svn://rubyforge.org/var/svn/masterview/trunk/masterview and will be rolled up into a new gem (0.3.3) when we have a few more items in there for a release. Thanks to Jon for identifying the problem! Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/masterview-users/attachments/20070322/a720bf9b/attachment.html