Corrupt quotes in generated HTML for an ASPX
<p>intro: I am pretty sure this is my fault. But I just don't see it and before tearing my hair out, I thought I should ask here ;)</p>

<p>I have a button which looks like this in my ASPX:</p>

<pre><code>&lt;input onClick="ELB_ClearSelection('DropDownList___00178');"
type="Button" value="Clear" /&gt;
</code></pre>

<p>The HTML that is generated says:</p>

<pre><code>&lt;input onClick="ELB_ClearSelection("DropDownList___00178");"
type="Button" value="Clear" /&gt;
</code></pre>

<p>...which obviously does not work :(</p>

<p>I ran the thing through HTML Validator and apart from the 'usual' complaints (related to it not fully 'understanding' ASPX) I did not see anything special, I have progrrammatically checked for balanced quotes and did not see anything suspicious, so I have no ideas where to look further :(</p>

<p>In case it helps, here is the full ASPX:</p>

<pre><code>&lt;%@ Register tagPrefix="des" assembly="PeterBlum.DES" namespace="PeterBlum.DES" %&gt;
&lt;%@ Register tagPrefix="despval" assembly="PeterBlum.DES.NativeToDES" namespace="PeterBlum.DES.NativeToDES" %&gt;
&lt;%@Page Language="apl" Debug="true" Inherits="COPA" src="COPA_MS.dws" %&gt;
&lt;%@ Register TagPrefix="mbcbb" Namespace="MetaBuilders.WebControls" Assembly="MetaBuilders.WebControls.ComboBox" %&gt;
&lt;%@ Register TagPrefix="ELB" Namespace="ELB" Assembly="EasyListBox" %&gt;
&lt;html&gt;&lt;head&gt;
    &lt;meta name="date"      content="2009-01-03T10:55:39" /&gt;
    &lt;meta name="generator" content="COPA_MS.DWS" defs="(11)(13)(14)" /&gt;
    &lt;meta name="publisher" content="Dynamic Logistics Systems GmbH" /&gt;
    &lt;meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /&gt;
    &lt;title&gt;
      COPA_MS  - Dispogruppen
      &lt;/title&gt;   &lt;link rel="stylesheet" type="text/css" href="./copa.css" /&gt;   &lt;script language="javascript" type="text/javascript" src="custom-form-elements.js"&gt;&lt;/script&gt;
    &lt;/head&gt;&lt;body&gt;
    &lt;h1&gt;
      &lt;span class="copa"&gt;COPA-&lt;/span&gt;&lt;span class="ms"&gt;MS:&lt;/span&gt; Dispogruppen
      &lt;/h1&gt;
    &lt;form runat=server&gt;&lt;des:PageSecurityValidator id="PageSecurityValidator1" runat="server" &gt;
        &lt;/des:PageSecurityValidator&gt;

      &lt;input runat="server" type="hidden" NAME="SelMaskeId" value="11" ID=SelMaskeID&gt;
        &lt;input runat="server" type="hidden" NAME="TreffId" value="13" ID=TreffID&gt;
          &lt;table&gt;
            &lt;tr&gt;
              &lt;td valign="top"&gt;&lt;asp:Label runat="server" ID="Label__________00176" Text="Code Dispogruppe" /&gt; &lt;/td&gt;&lt;td&gt;&lt;elb:EasyListBox runat="server" ID="ComboBox_______00176"  Text="" MaxLength="6" Width="100"   SelectQuery="***" ConnectionStringSqlServer="xxx"  DataValueField="code" DataTextField="code" DisplayMode="Combo" LimitToList="false" &gt;&lt;/elb:EasyListBox&gt;&lt;/td&gt;
              &lt;/tr&gt;&lt;tr&gt;
              &lt;td valign="top"&gt;&lt;asp:Label runat="server" ID="Label__________00177" Text="Bezeichnung" /&gt; &lt;/td&gt;&lt;td&gt;&lt;elb:EasyListBox runat="server" ID="ComboBox_______00177"  Text="" MaxLength="50" Width="210"  SelectQuery="***" ConnectionStringSqlServer="xxx"  DataValueField="bez" DataTextField="bez" DisplayMode="Combo" LimitToList="false" &gt;&lt;/elb:EasyListBox&gt;&lt;/td&gt;
              &lt;/tr&gt;&lt;tr&gt;
              &lt;td valign="top"&gt;&lt;asp:Label runat="server" ID="Label__________00178" Text="Lieferant" /&gt; &lt;/td&gt;&lt;td&gt;&lt;elb:EasyListBox runat="server" ID="DropDownList___00178"  Text="" MaxLength="0" Width="210" SelectQuery="***" ConnectionStringSqlServer="xxx"  DataValueField="id" DataTextField="bez"&gt;&lt;/elb:EasyListBox&gt;
                 &lt;input type="Button" value='Auswahl entfernen' onClick='ELB_ClearSelection("DropDownList___00178");' /&gt;
               &lt;/td&gt;
              &lt;/tr&gt;&lt;tr&gt;
              &lt;td valign="top"&gt;&lt;asp:Label runat="server" ID="Label__________00182" Text="Dispo-Verfahren" /&gt; &lt;/td&gt;&lt;td&gt;&lt;elb:EasyListBox runat="server" ID="DropDownList___00182"  Text="" MaxLength="0" Width="280       " Tref_Width="280" Tref_MaxLength="200" s_left="" s_top="" s_position="" css_sl="" css_tl="" css_dt=""  SelectQuery="***" ConnectionStringSqlServer="xxx"  DataValueField="id" DataTextField="bez"&gt;&lt;/elb:EasyListBox&gt;
                  &lt;input type="Button" value="Auswahl entfernen" onClick="ELB_ClearSelection('DropDownList___00182');" /&gt;&lt;/td&gt;
              &lt;/tr&gt;
            &lt;/table&gt;&lt;br /&gt;&lt;br /&gt;
          &lt;asp:Button runat="server" ID="Button_Suchen"  Text="Suchen"  onClick="CatchAll_onClick" /&gt;

          &lt;/form&gt;
        &lt;/body&gt;
      &lt;/html&gt;
</code></pre>
