We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

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

详细了解

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 人有此问题
  • 4 次查看
  • 最后回复者为 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

Yup, they all work :)

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.