This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/main by this push:
new 6f1d6d88 Remove newline after the link
6f1d6d88 is described below
commit 6f1d6d88edac36e46dd2a9d61e3899269d57ec04
Author: Zoran Regvart <[email protected]>
AuthorDate: Tue Nov 22 13:36:07 2022 +0100
Remove newline after the link
We need to add custom comment to remove the newline at the end of the
file in the `render-link.html` so that there is no newline after the
rendered link, leading to an additional whitespace before the next
character. Most commonly this results in a " ." instead of "." following
the link.
---
layouts/_default/_markup/render-link.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/layouts/_default/_markup/render-link.html
b/layouts/_default/_markup/render-link.html
index dfe675e7..a3b7228b 100644
--- a/layouts/_default/_markup/render-link.html
+++ b/layouts/_default/_markup/render-link.html
@@ -1 +1,2 @@
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end
}}{{ if strings.HasPrefix .Destination "http" }} rel="noopener nofollow
noreferrer"{{ end }}>{{ .Text | safeHTML }}</a>
+{{- /**/ -}}