farling42 / fvtt-pdf-pager

PDF Pager for Foundry
MIT License
6 stars 4 forks source link

PDF links not replaced by link for valid page #32

Closed farling42 closed 1 year ago

farling42 commented 1 year ago

https://discord.com/channels/170995199584108546/722566083499786352/1033414491418919043

image

farling42 commented 1 year ago

The link was created by dragging a page - maybe some hidden space characters were changed? Or the type of the dash was changed?

farling42 commented 1 year ago

Maybe using String.normalize() when creating the anchor, and again when searching for matching page names.

farling42 commented 1 year ago

It seems that it was most likely a problem with the unicode value for the dash being changed when the page is edited in TinyMCE.