always replace paths with absolutes

This commit is contained in:
rafaelsideguide 2024-10-25 15:14:43 -03:00
parent dbcf2d7ff6
commit 256a98b86e

View File

@ -393,9 +393,7 @@ export class WebScraperDataProvider {
}
private applyPathReplacements(documents: Document[]): Document[] {
if (this.replaceAllPathsWithAbsolutePaths) {
documents = replacePathsWithAbsolutePaths(documents);
}
documents = replacePathsWithAbsolutePaths(documents);
return replaceImgPathsWithAbsolutePaths(documents);
}