为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

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

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.