fix(lightnovelwp): support article.epcontent chapters and fix search URL (#2483) - #2632
Conversation
|
| { | ||
| "id": "TCSega", | ||
| "sourceSite": "https://teamchmantranslations.com", | ||
| "sourceSite": "https://teamchmantranslations.com/", |
There was a problem hiding this comment.
Older chapter images may break
The new trailing slash in TCSega’s sourceSite can leave two slashes when it joins an older chapter path. safeFecth removes the extra slash when fetching the chapter, but pageUrl keeps it when building relative image links. If the image host treats those paths differently, readers see broken images. Build pageUrl from the same cleaned URL used for the fetch.
Closes #2483
article.epcontentselector fallback inlightnovelwptemplate so chapters rendered in<article>tags load properly (fixes empty chapters on TC & Sega)?s=query parameter to avoid unnecessary redirectslightnovelwptemplate version to 1.1.11 andTCSegato 1.1.12Checklist
type(scope): description(e.g.feat(<generator>): add new source)