搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

troubles with 'reg' conversion

  • 3 回覆
  • 1 有這個問題
  • 9 次檢視
  • 最近回覆由 PPutnik

more options

FF4 convert (ampersand)reg in a wrong way.

I mean when FF meet the sequence of symbols (ampersand)reg it always convert it to ® symbol, but it should be converted only if this sequence finished with ';', isn't it?

To check create this simple html file:

========

action=save&region_id=41
look&register
login&registration

========

i got text below instead of usual words every time:

========

action=save®ion_id=41 look®ister login®istration

========
FF4 convert (ampersand)reg in a wrong way. I mean when FF meet the sequence of symbols (ampersand)reg it always convert it to ® symbol, but it should be converted only if this sequence finished with ';', isn't it? To check create this simple html file: ==================== action=save&region_id=41<br> look&register<br> login&registration ==================== i got text below instead of usual words every time: ==================== action=save®ion_id=41 look®ister login®istration ====================

所有回覆 (3)

more options

(ampersand) mean 0x26 in ascii table, single char On the image you can see code on blue side and result on white side

more options

Why don't you use &amp; to code the ampersand?

action=save&amp;region_id=41
look&amp;register
login&amp;registration

  • Bug 385776 - make entity handling match IE7 / HTML5
more options

Because we have a lot of old, very old and noncompletely new apps all though the Web.