title: Display the html with special character code intead of just using it as html
body: <p>I am using the following line in one of my erb files :</p>
  
  <pre><code>&lt;%=@map.div(:width =&gt; 800, :height =&gt; 500)%&gt;
  </code></pre>
  
  <p>it output the following HTML :</p>
  
  <pre><code>&amp;lt;div id="map" style="width:800px;height:500px" &amp;gt;&amp;lt;/div&amp;gt;
  </code></pre>
  
  <p>Displayed as : <code>&lt;div id="map" style="width:800px;height:500px" &gt;&lt;/div&gt;</code> </p>
  
  <p>in the browser.</p>
  
  <p>EDIT : My only other piece of code is :</p>
  
  <pre><code>    require 'rubygems'
  include GeoKit::Geocoders
  
  class HomeController &lt; ApplicationController
  
   def index
    coordinates =[13.0343841,  80.2502535] #you can get the coordinates for the location you want from http://stevemorse.org/jcal/latlon.php
    @map = GMap.new('map')
    @map.control_init(:large_map =&gt; true, :map_type =&gt; true)
    @map.center_zoom_init(coordinates,10) # here 10 referes to the zoom level for a map
    @map.overlay_init(GMarker.new(coordinates,:title =&gt; 'Chennai', :info_window =&gt; 'Chennai'))
  end
  end
  </code></pre>
  
  <p>Why is it doing it? How can I prevent rails 3 to translate my code in special char?</p>