<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -9,7 +9,7 @@ module Nagoro
     TAG_END         = /&lt;\/([^&gt;]*)&gt;/
     TAG_OPEN_END    = /\s*&gt;/
     TAG_CLOSING_END = /\s*\/&gt;/
-    TAG_PARAMETER   = /\s*([^\s]*)=((['&quot;])(.*?)\3)/um
+    TAG_PARAMETER   = /\s*([^\s=]*)=((['&quot;])(.*?)\3)/um
 
     INSTRUCTION_START = /&lt;\?(\S+)/
     INSTRUCTION_END   = /(.*?)(\?&gt;)/um</diff>
      <filename>lib/nagoro/scanner.rb</filename>
    </modified>
    <modified>
      <diff>@@ -102,4 +102,11 @@ describe &quot;Nagoro::Template&quot; do
 
     Nagoro.render(comment).should == comment
   end
+
+  it &quot;ignores javascript in parameter&quot; do
+    @stuff = 'nothing'
+    tag = %q|&lt;a href=&quot;stuff&quot; onmouseover='this.src=&quot;#{@stuff}&quot;'&gt;stuff&lt;/a&gt;|
+
+    Nagoro.render(tag, :binding =&gt; binding).should == %|&lt;a href=&quot;stuff&quot; onmouseover='this.src=&quot;#{@stuff}&quot;'&gt;stuff&lt;/a&gt;|
+  end
 end</diff>
      <filename>spec/nagoro/template.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>821c51518c13ff7e9fc23837de7c1919e3ddc0b6</id>
    </parent>
  </parents>
  <author>
    <name>Michael Fellinger</name>
    <email>m.fellinger@gmail.com</email>
  </author>
  <url>http://github.com/manveru/nagoro/commit/8f7ed2abe62dbc2360b491f8c872e244a24bc3ba</url>
  <id>8f7ed2abe62dbc2360b491f8c872e244a24bc3ba</id>
  <committed-date>2009-05-16T08:46:53-07:00</committed-date>
  <authored-date>2009-05-16T08:46:53-07:00</authored-date>
  <message>Don't fail when there's a '=' inside the tag parameter</message>
  <tree>2c877522429dcffe4b799afead44b4f8cbd1e2d9</tree>
  <committer>
    <name>Michael Fellinger</name>
    <email>m.fellinger@gmail.com</email>
  </committer>
</commit>
