Documentation and output for custom post types

This commit is contained in:
Will Boyd
2020-12-27 14:05:48 -05:00
parent d6ef25b764
commit 828230dedd
4 changed files with 12 additions and 4 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ function getPostContent(post, turndownService, config) {
if (config.saveScrapedImages) {
// writeImageFile() will save all content images to a relative /images
// folder so update references in post content to match
// folder so update references in post content to match
content = content.replace(/(<img[^>]*src=").*?([^/"]+\.(?:gif|jpe?g|png))("[^>]*>)/gi, '$1images/$2$3');
}