Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Multi-line href extends to cover both lines #113

Open
snprajwal opened this issue Apr 8, 2022 · 2 comments
Open

Multi-line href extends to cover both lines #113

snprajwal opened this issue Apr 8, 2022 · 2 comments
Labels

Comments

@snprajwal
Copy link

If a hyperlinked text goes across two lines, the hyperlink is activated for all words present in both lines. Not sure why this is occuring. Looks something like this:

Consider these words going across the text box right now. Yes it's going, and it keeps going on and on until we reach the end of the line and make a link. Now this link is clickable at any point in these two lines.

@BlueHatbRit
Copy link
Owner

Hi there, could you provide a full markdown text example and the full command / code you're using to reproduce this? Mdpdf doesn't really do any of the actual markdown -> html or html -> pdf conversion itself, it just stitches them together and applies styles etc. If you can provide a full example we can take a look in debug mode and see what the html output is to figure out where the issue is.

@BlueHatbRit BlueHatbRit added the bug label Apr 8, 2022
@snprajwal
Copy link
Author

Here's the raw markdown text that I had typed out:

I am a second year student pursuing my engineering in computer science from [Dayananda Sagar College of Engineering](https://dsce.edu.in), Bengaluru, India. My areas of interest include distributed systems, networking, and scalability. I am actively involved in open-source projects related to Kubernetes.

This entire line was a hyperlink in the PDF, as seen in the image below

image

The command used to generate the PDF was mdpdf file.md --gh-style

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants