Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

Make internal linking more adhere to HTML spec. #4412

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

allenwu1973
Copy link

Hi

This PR fixes #4406.

  • Support lookup through decoded url fragement
  • Escape special characters when building query selector

I'm really unfamiler with C++ and qt, hope I didn't screw up too much ;)

@ashkulz
Copy link
Member

ashkulz commented Jul 9, 2019

Thanks for the contribution, and most importantly the analysis!

@allenwu1973 allenwu1973 force-pushed the master branch 3 times, most recently from 2606e03 to b8640ef Compare July 10, 2019 13:12
@allenwu1973
Copy link
Author

@ashkulz I've implemented CSS.escape in utilities.cc as escapeCSS. I'm not sure about the naming and where to put it. Thanks!

see wkhtmltopdf#4406

* Support lookup through decoded url fragement
* Escape special characters when building query selector
@tagatac
Copy link

tagatac commented Jul 29, 2022

I merged this PR to my fork and rebuilt wkhtmltox. It seems links with question marks are still not handled properly, so this PR may not be a complete solution.

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

Successfully merging this pull request may close these issues.

Internal links are not normalized
3 participants