mirror of
https://github.com/10h30/wordpress-export-to-markdown.git
synced 2026-06-05 15:09:59 +09:00
get in there, semicolon
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ function getPostContent(post, turndownService, config) {
|
||||
|
||||
// preserve "more" separator, max one per post, optionally with custom label
|
||||
// by escaping angle brackets (will be unescaped during turndown conversion)
|
||||
content = content.replace(/<(!--more( .*)?--)>/, '<$1>')
|
||||
content = content.replace(/<(!--more( .*)?--)>/, '<$1>');
|
||||
|
||||
// use turndown to convert HTML to Markdown
|
||||
content = turndownService.turndown(content);
|
||||
|
||||
Reference in New Issue
Block a user