0

在我的haml代码中,我输入了以下链接

.download_section
  %a{href:"https://mailto:xxxx@gmail.com"}
    %b
      Work wth us

但是,在显示中,检查链接后,我意识到只显示了“gmail”

在此处输入图像描述

我试图将 @ 和冒号更改为 ASCII 码,但似乎没有帮助

.download_section
  %a{href:"https://mailto:xxxx@gmail.com"}
   %b
    Work wth us

谁能告诉我如何使链接按原样显示?

4

1 回答 1

0

如果你尝试这样的事情怎么办:

.download_section
  %a{:href => "mailto:xxxx@gmail.com"} Work with us

该链接可能会被https://您问题中的代码部分弄糊涂。(在此处查看有关mailto 链接的更多信息。)

于 2013-03-15T18:47:14.233 回答