VisualStudioCode
V2EX  ›  问与答

Foxmail 在写邮件时,粘贴网址后回车,如果网址包含 URL 参数且正好撞上了 HTML 实体,那么就会被自动转换成对应字符。这是 bug 吗?

  •  
  •   VisualStudioCode · Aug 20, 2025 · 1329 views
    This topic created in 294 days ago, the information mentioned may be changed or developed.

    打开 Foxmail - 写邮件。在正文中粘贴

    https://www.v2ex.com/&region

    回车

    网址会变成:

    https://www.v2ex.com/®ion

    因为网址中正好撞上了 HTML 实体 "&reg"


    看了一圈 Foxmail 的设置,好像没有设置项。目前一个变通办法是:写邮件 - 右上角三条杠 - 邮件格式 - 纯文本邮件

    那么这是 bug 吗?

    2 replies    2025-08-21 10:43:31 +08:00
    Jusekenny
        1
    Jusekenny  
       Aug 20, 2025
    mac 自带 邮件 app 也这样。
    NewYear
        2
    NewYear  
       Aug 21, 2025
    这是因为软件没有对&进行转义,所以在 HTML 看来,你就是要输入那个符号。


    解决办法就是提前做转义,另外链接里要用原来的地址。。。。。可以写个 HTML 页面用于转换。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1180 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 23:33 · PVG 07:33 · LAX 16:33 · JFK 19:33
    ♥ Do have faith in what you're doing.