Skip to content

Commit fd88b26

Browse files
committed
reinstate spaces when texting paragraphs
1 parent ce1334d commit fd88b26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/links/article/article.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default {
1212

1313
if (articleText) {
1414
return {
15-
articlebody: __readabilityEnabled === 'html' ? articleHtml : articleText
15+
articlebody: __readabilityEnabled === 'html' ? articleHtml : articleText.replace(/\.([^\.\d\s\n\r\'\"\”\)\]])/g, '. $1')
1616
}
1717
}
1818
},

0 commit comments

Comments
 (0)