Thank you silky,

I started a new project copy and pated the lines, still the same
problem, changed the signle quote in the fist line to double quotes
and it worked fine, changed the single quotes in the second line to
double quotes and it still worked as before.

Double Quotes solves it, the context is that they are next to each
other and I have swapped their order and the problem was the same

Regards

Arjang

On 20 August 2010 14:56, silky <[email protected]> wrote:
> On Fri, Aug 20, 2010 at 2:47 PM, Arjang Assadi <[email protected]> 
> wrote:
>> I have two identical lines:
>> 1)
>> <link href='<%=
>> ResolveClientUrl("~/jquery/css/smoothness/jquery-ui-1.8.4.custom.css")
>> %>' rel="stylesheet" type="text/css" />
>> 2)
>> <script src='<%= ResolveClientUrl("~/jquery/js/jquery-1.4.2.min.js")
>> %>' type="text/javascript"></script>
>>
>> they rendered as :
>> 1)
>> <link src="&lt;%=
>> ResolveClientUrl(&quot;~/jquery/css/smoothness/jquery-ui-1.8.4.custom.css&quot;)
>> %>" rel="stylesheet" type="text/css" /></link>
>> 2)
>>    <script src='../jquery/js/jquery-1.4.2.min.js'
>> type="text/javascript"></script>
>>
>> My only comclusion is that the first line is being htmlencoded ! is
>> that correct? and if yes, then how can it be stopped ?
>
> No, your conclusion is not correct. The lines aren't as identical as
> you think. The context also matters. Try these two lines side by side
> in a standalone project (I just did; they work).
>
> Check the context that you are writing them in.
>
>
>> Regards
>>
>> Arjang
>
> --
> silky
>
> http://dnoondt.wordpress.com/
>
> "Every morning when I wake up, I experience an exquisite joy — the joy
> of being this signature."
>

Reply via email to