browser - Mobile Phone Browse Escape Ampersand (&) for URL Developed in ASP.NET MVC? -


This is a strange thing I can not understand. I have a basic mobile site that is coded in ASP.NET MVC (in fact this case will not make any difference, but to keep it out)

When I go to a specific page I get the following error

This page has the following errors:

Error on line 56 in column 43: EntityRef: Expected '';

Below is a rendering of the page for the first error

Now to present a basic anchor tag in particular An appressed query string (should be very standard right?). Why can this be a problem?

In IPhone, this is not a problem, nor regular browsers (IE8, Chrome, FF, etc.). It is displayed by my Palm Pre Browser, Android and Blackberry Bold.

In particular, the humiliating line (part of the original paging control) appears below:

  & lt; A href = "/ mobile / lotbawse? Page = 2 & watchlist = false" style = "text-decoration: none" heading = "go to page 2" & gt; & Lt; Span class = "page-number" & gt; 2 & lt; / Span & gt; & Lt; / A & gt;  

You need to use & amp; Amp; All & amp;

is used in your XHTML code, where elsewhere

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -