In my aspx I have this line:
<link href="<%= Request.ApplicationPath %>/css/ma/screen-ma.css" rel="Stylesheet"type="text/css" media="screen" />
which renders as:
<link href="/XFormPortal/css/ma/screen-ma.css" rel="Stylesheet"type="text/css" media="screen" />
That seems correct, right?
Then i change a single character, lets say add a space between the rel and the type attribute, so now I have the following:
<link href="<%= Request.ApplicationPath %>/css/ma/screen-ma.css" rel="Stylesheet" type="text/css" media="screen" />
Which now rendes as:
<link href="<%= Request.ApplicationPath %>/css/ma/screen-ma.css" rel="Stylesheet" type="text/css" media="screen" />
Okay, what just happend here? The inline code tag is suddenly ignored and written out as text? Because of a single space?
Can anyone explain this?
1 Answer