Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Internal and external links are broken in block: markdown #3164

Closed
2 tasks done
hofbi opened this issue Nov 3, 2024 · 0 comments
Closed
2 tasks done

Internal and external links are broken in block: markdown #3164

hofbi opened this issue Nov 3, 2024 · 0 comments

Comments

@hofbi
Copy link
Contributor

hofbi commented Nov 3, 2024

Preliminary Checks

Description

On the latest commit of https://github.com/HugoBlox/theme-academic-cv, internal and external URLs/links used in block: markdown are missing when running hugo server or hugo build. The following example:

Use this area to speak to your [mission](https://github.com/HugoBlox/theme-academic-cv).

would result in

Use this area to speak to your .

For some reason, the link is not created correctly. See all details below:

Reproduction Link

https://github.com/hofbi/hofbi.github.io/tree/reproduce-bug

Steps to Reproduce

  1. git clone --single-branch --branch reproduce-bug https://github.com/hofbi/hofbi.github.io
  2. cd hofbi.github.io
  3. Start the server or build the site with docker run --rm -v .:/src -p 1313:1313 hugomods/hugo:go-git server --bind="0.0.0.0" (I also tried with ghcr.io/gohugoio/hugo and both with hugo server and hugo build)
  4. Check the link used in block: markdown. The link and the word where the link is added are missing as you can see in the screenshot (this happens for hugo server and hugo build) <-- This is the last step to reproduce the bug
  5. Funny bonus step: With hugo server the bug can be reproduced on the initial creation. If I save the file with the block: markdown in it to trigger the hot reload, the link appears. Using hugo server --disableFastRender, the link never appears.

Expected Result

See the link on the word "mission"

grafik

Actual Result

The link and the word "mission" is missing

grafik

What Hugo Module versions does your site use?

https://github.com/HugoBlox/theme-academic-cv/blob/main/go.mod

What operating system(s) are you seeing the problem on?

Linux

What browser(s) are you seeing the problem on?

Chrome, Firefox

Which Hugo Blox template are you using?

https://github.com/HugoBlox/theme-academic-cv

What version of Hugo are you using?

v0.136.5

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant