mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-11 22:24:40 -04:00
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Links with non-whitespace characters preceeding them are prefixed with a space ([#695](https://github.com/jpanther/congo/issues/695))
|
||||
|
||||
## [2.7.3] - 2023-10-31
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{ $link := .Destination }}
|
||||
{{ $isRemote := strings.HasPrefix $link "http" }}
|
||||
{{- $link := .Destination -}}
|
||||
{{- $isRemote := strings.HasPrefix $link "http" -}}
|
||||
{{- if not $isRemote }}
|
||||
{{ $url := urls.Parse .Destination }}
|
||||
{{ if $url.Path }}
|
||||
|
||||
Reference in New Issue
Block a user