搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

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.