Open GoogleCodeExporter opened 8 years ago
Not sure how "backward" compatible this is but...
Original comment by trave...@gmail.com
on 10 Jan 2012 at 4:36
Original comment by adrian.g...@gmail.com
on 28 Mar 2012 at 8:34
Is this currently an issue or just semantically incorrect? If you can provide a
use case where we should *not* use string as a return type, that would be very
helpful.
Original comment by adrian.g...@gmail.com
on 30 Mar 2012 at 5:50
By default ASP.NET MVC *3* encodes all output. So if you want to return
code/html from your helper methods you have to return it as a MvcHtmlString. To
reproduce it, just create a new MVC3 project in VS2010, add a ref to the
Recaptcha lib and use the helper: @Html.GenerateCaptcha() in a view.
Original comment by trave...@gmail.com
on 6 Apr 2012 at 3:07
If you need a demo project or my comment does not make sense, let me know and I
can zip one up and attach it.
Original comment by trave...@gmail.com
on 6 Apr 2012 at 3:08
Hi, This is still an issue in MVC4
Original comment by deont...@gmail.com
on 12 Apr 2012 at 12:25
The workaround for now is to use @Html.Raw(Html.GenerateCaptcha())
Original comment by J...@WalkerCodeRanger.com
on 3 Sep 2014 at 7:37
Original issue reported on code.google.com by
trave...@gmail.com
on 10 Jan 2012 at 4:35Attachments: