On 3/21/07, <b class="gmail_sendername">Frisby Jon</b> <<a href="mailto:jfrisby@mrjoy.com">jfrisby@mrjoy.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
First, the bug. In parser.rb, this:<br> def generate_replace(value)<br> @renderer.append_raw ERB_EVAL_START+value+ERB_EVAL_END<br> end<br><br>Should be:<br> def generate_replace(value)<br> @renderer.append_raw
ERB_CONTENT_START+value+ERB_EVAL_END<br> end<br><br>In order to behave as documented at:<br><a href="http://masterview.org/directives.html#mv_gen_replace">http://masterview.org/directives.html#mv_gen_replace</a><br><br>
</blockquote></div><br><br>I have added a couple tests and patched mv:gen_replace to use <%= %> as it should have rather than <% %><br><br>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.<br><br>Thanks to Jon for identifying the problem!<br><br>Jeff<br>