<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -243,9 +243,14 @@ module Merb::Helpers::Form::Builder
       ([b] + col.map do |item|
         text_meth = text_meth &amp;&amp; item.respond_to?(text_meth) ? text_meth : :last
         value_meth = value_meth &amp;&amp; item.respond_to?(value_meth) ? value_meth : :first
+
+        text  = item.is_a?(String) ? item : item.send(text_meth)
+        value = item.is_a?(String) ? item : item.send(value_meth)
         
-        text  = item.is_a?(String) ? item : Merb::Parse.escape_xml(item.send(text_meth))
-        value = item.is_a?(String) ? item : Merb::Parse.escape_xml(item.send(value_meth))
+        unless Merb.disabled?(:merb_helper_escaping)
+          text  = Merb::Parse.escape_xml(text)
+          value = Merb::Parse.escape_xml(value)
+        end
 
         option_attrs = {:value =&gt; value}
         if sel.is_a?(Array)
@@ -272,7 +277,11 @@ module Merb::Helpers::Form::Builder
     
     def control_value(method)
       value = @obj ? @obj.send(method) : @origin.params[method]
-      Merb::Parse.escape_xml(value.to_s)
+      if Merb.disabled?(:merb_helper_escaping)
+        value.to_s
+      else
+        Merb::Parse.escape_xml(value.to_s)
+      end
     end
 
     def add_css_class(attrs, new_class)</diff>
      <filename>merb-helpers/lib/merb-helpers/form/builder.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d5c1e89c82d0684874155a83e62698c58f55f80d</id>
    </parent>
  </parents>
  <author>
    <name>Yehuda Katz</name>
    <email>wycats@gmail.com</email>
  </author>
  <url>http://github.com/wycats/merb/commit/677d08b9dd972367369a509987264ded25e70f9a</url>
  <id>677d08b9dd972367369a509987264ded25e70f9a</id>
  <committed-date>2008-12-15T19:21:20-08:00</committed-date>
  <authored-date>2008-12-15T19:21:20-08:00</authored-date>
  <message>Allow disabling escape_xml</message>
  <tree>52d9660a65129a41c3d3f37684e0c8f8b00c6d39</tree>
  <committer>
    <name>Yehuda Katz</name>
    <email>wycats@gmail.com</email>
  </committer>
</commit>
