我找不到一种方法来呈现链接,然后在它之后使用逗号或句号,链接和标点符号之间没有空格。这是我的初步尝试:
<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>
有没有办法避免链接和标点符号/其他元素之间的空格?