nunocoracao / blowfish

Personal Website & Blog Theme for Hugo
https://blowfish.page
MIT License
1.49k stars 409 forks source link

`<!-- more -->` and links in summary break #1729

Open mikebell opened 2 months ago

mikebell commented 2 months ago

Describe the bug If you include a link in the text before you end up with broken html.

Example md file - https://raw.githubusercontent.com/mikebell/mikebell.io/main/content/posts/my-first-year-ish-on-the-fediverse.md

Example page with broken html - https://mikebell.io/posts/page/2/

To Reproduce Steps to reproduce the behavior:

  1. Enable summary in config, set to 30
  2. Create post, include a link and some text then add a <!-- more --> tag
  3. See error

Expected behavior Links should be displayed correctly.

Screenshots If applicable, add screenshots to help explain your problem.

image

Desktop (please complete the following information):

Hugo & Blowfish versions Which version of Hugo and Blowfish are you using? v2.76.0 Hugo 0.133.0 Extended

Additional context Add any other context about the problem here.

andrlik commented 2 months ago

This also occurs even without the use of <!--more--> for me.