Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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.