You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Put the Recapctha control on an ASP.NET Web form
2. Witness the "<br>
</br>" sequence in the source code generated
3. Understand this breaks (X)HTML compliance
What is the expected output? What do you see instead?
instead : <br/>
What version of the product are you using? On what operating system?
Recaptcha ASP.NET plugin
Please provide any additional information below.
I figured it out :
In RecapcthaControl.cs at line 150 (or 151?) replace these two lines :
output.RenderBeginTag(HtmlTextWriterTag.Br);
output.RenderEndTag();
with
output.WriteBreak();
Shorter, faster, more correct ;)
For further reference see http://msdn.microsoft.com/en-us/library/
system.web.ui.htmltextwriter.writebreak.aspx
Original issue reported on code.google.com by rinea.an...@gmail.com on 10 Mar 2009 at 8:47
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
rinea.an...@gmail.com
on 10 Mar 2009 at 8:47The text was updated successfully, but these errors were encountered: