View Single Post
Old 04-21-2023, 07:27 PM   #1059
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Quote:
Originally Posted by BetterRed View Post
file:\\\ links to a folder aren't working:


This is the HTML code:
Code:
<p><a href="file:///D:/Calibre/Libraries/Test/Anat%20Admati/The%20Bankers'%20New%20Clothes%20(159)/data/"><span style="color: #9e7852">Attachments</span></a></p></div>
I'm sure they were working in a prior release.

BR
You never gave me any test data with not only double-quotes, but also a lone single quote: Bankers' . If it had been url encoded as Bankers%27, it would have worked.

I really need you to run that example in calibre-debug -g and post the log. I cannot do it because I don't have any file paths even remotely like that. Using your log, I can determine exactly how to do what needs to be done. I get Python syntax errors even trying to hardcode a test url with that value without doing crazy things, and that isn't 'real-life' testing.

Thanks.

DaltonST
DaltonST is offline   Reply With Quote