Windows Vista Tips

Windows Vista Tips > Newsgroups > Internet Explorer > Re: backtick saving bug

Reply
Thread Tools Display Modes

Re: backtick saving bug

 
 
VanguardLH
Guest
Posts: n/a

 
      11-28-2009
Krzysztof ¯elechowski wrote:

> Internet Explorer 8 Save To Disk damages documents with backticks in
> attribute values.
>
> Steps to reproduce:
>
> 1. Create a HTML document containing the code
> <INPUT TYPE=SUBMIT VALUE="`" DISABLED >
> 2. Open the document in Microsoft Internet Explorer.
> 3. Tell Microsoft Internet Explorer to save the document to disk as
> bare HTML using ISO encoding.
> 4. Open the saved document in Microsoft Internet Explorer.
>
> Expected result:
> 4. The saved page should display the same content as the original page.
>
> Actual result:
> 4. The saved page displays the HTML code for the INPUT control.


I'm not an HTML or Javascript guru but I suspect the backquote is a special
character that must be escaped or you use a HTML character entity reference
(`) to express that character. I'm guessing but maybe the backquote
escapes an expression to be evaluated or injects code so you need to escape
it to use it as just a character. The HTML newsgroups is where you need to
visit for better gurus on HTML.

Escape it (\`), use the entity reference (`), or capture the input value
into a string and then encode that string to insert the HTML entity
characters (see the code in the following discussion on how to encode the
string).

http://www.ibm.com/developerworks/fo...hreadID=256586
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: I'm having a problem saving password/username in Internet Explorer 8 Jeff Strickland Internet Explorer 2 11-20-2009 01:05 AM
Saving by pressing Ctrl+S Tejpal Internet Explorer 1 11-06-2009 12:34 AM
Why do old emails not show daylight saving time? Pooter Pan Windows Live Mail 3 10-26-2009 09:16 PM
all files saving to recovery drive scuba_steve43111 Windows Vista Performance 0 03-05-2007 01:26 AM
Stop Error 0x0000007b Louis LeBrun Windows Vista Installation 17 07-05-2006 10:00 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59