【发布时间】:2016-03-31 09:01:21
【问题描述】:
我无法找到一种方法来呈现链接,然后立即使用逗号或句号 它,链接和标点符号之间没有空格。这是我的初始 尝试:
<p>
You can find more information #
<a href="@{SomeRouteR}">here
\.
或
<p>
You can find more information #
<a href="@{SomeRouteR}">here
.
这会在单词“here”和“.”之间插入空格。
另一种选择是:
<p>
You can find more information #
<a href="@{SomeRouteR}">here</a>.
这看起来很成功,但 HTML 格式错误:
<p>You can find more information <a href="…">here</a>.</a></p>
有没有办法避免链接和标点符号/其他之间的空格 元素?
【问题讨论】: