View Single Post
Old 10-17-2019, 03:45 PM   #1314
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,887
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Rev. Bob View Post
Okay, I see the problem: the links are improperly, or at least weirdly, formatted. The rel="xpgt" section is supposed to be rel="stylesheet" - at least, that's what Modify is expecting.

(Side note: Not a new bug. Old code.)

Luckily, despite not knowing XPath, this isn't too hard to fix. One line tweaked in modify.py (to detect "stylesheet" or "xpgt"), and a line added to the changelog.
Would it not also be good to search for href="page-template.xpgt" as well? That has to be there for no matter what else is there.
JSWolf is offline   Reply With Quote