{{ $isExternal := hasPrefix .Destination "http" -}} {{- .Text | safeHTML -}} {{- /* This directive ensures that all trailing whitespace is trimmed. */ -}}