congo icon indicating copy to clipboard operation
congo copied to clipboard

🛠 fix: Space in rendered link

Open tomy0000000 opened this issue 1 year ago • 2 comments

When I have these in my markdwon:

this[link]({{< relref "/series" >}})shouldnothaveanyspace

this[link](https://github.com/tomy0000000)shouldnothaveanyspace

an extra \n character is rendered in HTML, which is interpreted as a space before the link like this:

CleanShot 2024-02-22 at 21 39 43@2x

where it should have been this:

CleanShot 2024-02-22 at 21 42 24@2x

This PR trimmed the newline characters and fixed the bug.

tomy0000000 avatar Feb 23 '24 02:02 tomy0000000

Deploy Preview for hugo-congo ready!

Built without sensitive environment variables

Name Link
Latest commit 0a6267c171e799ac8c0297f6e1ca8d2c318a921c
Latest deploy log https://app.netlify.com/sites/hugo-congo/deploys/65d806735a583500081f6a50
Deploy Preview https://deploy-preview-813--hugo-congo.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Feb 23 '24 02:02 netlify[bot]

This seems to address #811 and I currently verified this issue.

fcladera avatar Feb 23 '24 15:02 fcladera

Thanks for this... these embedded templates are the bane of my existence. Will merge this in now.

jpanther avatar Mar 09 '24 03:03 jpanther