Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

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

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

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

The symbols on my site (ex: &trade), simple html coding, no longer translate as a symbol but as the literal text in 4.0, what can I do?

  • 6 отговора
  • 7 имат този проблем
  • 9 изгледи
  • Последен отговор от globacide

more options

I updated to 4.0 today and now the symbols on my site appear as literal text. For example &trade in my html to translate onto my site as the TM symbol. It worked in the previous version and still works on other browsers.

I updated to 4.0 today and now the symbols on my site appear as literal text. For example &trade in my html to translate onto my site as the TM symbol. It worked in the previous version and still works on other browsers.

Избрано решение

Make sure that you add a trailing ";" : ™ -> ™

Прочетете този отговор в контекста 👍 0

Всички отговори (6)

more options

Take a look at this website. It has a lot of HTML symbols and entities. Do they display wrong on your end? HTML character symbols

They display ok for me on a mac in Firefox 4. What about you?

Променено на от bootstrapcreative

more options

Избрано решение

Make sure that you add a trailing ";" : ™ -> ™

more options

Apparently I forgot the ";" but it worked without it on my previous version of Firefox as well as in Safari etc. Oh well. Thank you so much for your help, I appreciate it!

more options

Hello,

Not related to the "& trade ;" symbol, but otherwise a related bug:

The following string: "& amp ; sect" gets translated to the § ("& sect ;") symbol.

And yes, I have triple-checked everything, and I'm sure this is a bug. Note the string is inside a link in a href attribute of an "a" tag.

Can anyone reproduce and let me know if it's really a bug? If so, we should report it.

Thanks!

Променено на от globacide

more options

Sorry, the previous string got stripped in my previous post. It is "& amp ; sect" (without spaces).

Thanks.