Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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.