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

[BUG] links with long text not displaying correctly across multiple lines #1107

Closed
Plasny opened this issue Dec 20, 2022 · 0 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@Plasny
Copy link

Plasny commented Dec 20, 2022

Describe the bug

Link text that spans multiple lines isn't underlined.

  • Device/Os: Linux
  • Type: Desktop
  • Browser and version [e.g. Chrome 86.0]: Chromium 108
  • Hugo Version [ >=0.83.0 expected]: v0.92.2+extended
  • Theme Version [e.g. v4.0, master, or commit-id ]: master

Steps to reproduce the behavior:

create a markdown link on your site that consists of multiple word, example:

---
title: "Test"
---

# Lorem ipsum

Dolor sit amet consectetur adipisicing elit. Placeat ea temporibus, at quisquam, reprehenderit voluptates asperiores aspernatur molestias [dolorum blanditiis porro praesentium consequatur et](https://example.org), facere sequi debitis mollitia. Fugit, culpa.

Expected behavior:

Link is underlined across multiple lines


Repo/Source where this issue can be reproduced:

above ⬆️


Screenshots

when link text is across multiple lines:
image

when link text is on one line only:
image


Additional context

@Plasny Plasny added the bug Something isn't working label Dec 20, 2022
@Plasny Plasny changed the title [BUG] long links not displaying correctly across multiple lines [BUG] links with longs text not displaying correctly across multiple lines on the website Dec 20, 2022
@Plasny Plasny changed the title [BUG] links with longs text not displaying correctly across multiple lines on the website [BUG] links with long text not displaying correctly across multiple lines Dec 20, 2022
@adityatelange adityatelange self-assigned this Dec 20, 2022
Nicceboy added a commit to Nicceboy/hugo-PaperMod that referenced this issue Feb 11, 2023
* Fix multi-line anchor tags not highlighted/underlined.

fixes: adityatelange#1107

* Update Hebrew translation (adityatelange#1104)

Signed-off-by: Eran Israeli <eisraeli@redhat.com>

* Improve Turkish Translation tr.yaml (adityatelange#1098)

* update arabic pagination translation (adityatelange#1137)

* PT translation updated (adityatelange#1124)

Signed-off-by: igorr0driguez <42983358+igorr0driguez@users.noreply.github.com>

* Added Belarusian translations i18n/be.yaml (adityatelange#1144)

* updated Polish translation (adityatelange#1148)

* Add Tumblr Icon (adityatelange#1115)

* Add TryHackMe Icon (adityatelange#1113)

from Simple Icons https://github.com/simple-icons/simple-icons/blob/develop/icons/tryhackme.svg

* Add codeforces icon (adityatelange#1092)

From https://github.com/simple-icons/simple-icons

* Google scholar svg icon fixed, now unfilled curved line (adityatelange#1064)

* Add netease cloud music icon (adityatelange#1093)

* Add title to the image tag in rss.xml (adityatelange#1105)

Ref: https://cyber.harvard.edu/rss/rss.html#ltimagegtSubelementOfLtchannelgt

* Add douban and zhihu icon (adityatelange#1084)

* Update README

---------

Signed-off-by: Eran Israeli <eisraeli@redhat.com>
Signed-off-by: igorr0driguez <42983358+igorr0driguez@users.noreply.github.com>
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
Co-authored-by: Eran Israeli <eisraeli@redhat.com>
Co-authored-by: Nikita <3787035+niturk@users.noreply.github.com>
Co-authored-by: Essa Alshammri <essa.alshammri@gmail.com>
Co-authored-by: Igor Rodriguez <42983358+igorr0driguez@users.noreply.github.com>
Co-authored-by: Andrey Mukamolov <4471821+fobo66@users.noreply.github.com>
Co-authored-by: Karpfly <karpfly@gmail.com>
Co-authored-by: Axel Wagner <mail@merovius.de>
Co-authored-by: Josh Müller <39825267+theJoshMuller@users.noreply.github.com>
Co-authored-by: rais ilham <rais.ilham.nustara-2020@fst.unair.ac.id>
Co-authored-by: Nathan Fradet <56734983+Natooz@users.noreply.github.com>
Co-authored-by: Bohao Jing <jingbohao@yeah.net>
Co-authored-by: k-yone <9046344+k-yone@users.noreply.github.com>
Co-authored-by: Jingchao <alswlx@gmail.com>
andrewKOwong added a commit to andrewKOwong/mixedconclusions that referenced this issue Feb 14, 2023
In the actual PaperMod repo, this issue is referenced in:
adityatelange/hugo-PaperMod#1107
and is fixed by:
adityatelange/hugo-PaperMod@5ca2d29
In the future, I will subrepo the PaperMod theme again,
so this is a temporary fix until I do that.
kylethedeveloper pushed a commit to kylethedeveloper/hugo-PaperMod that referenced this issue Feb 21, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants