mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-04-12 23:48:06 +02:00
Merge branch 'master' into develop
This commit is contained in:
@@ -74,7 +74,7 @@ module.exports = function (Posts) {
|
||||
|
||||
async function parsePosts(posts, options) {
|
||||
return await Promise.all(posts.map(async (post) => {
|
||||
if (!post.content) {
|
||||
if (!post.content && !post.sourceContent) {
|
||||
return post;
|
||||
}
|
||||
if (options.parse) {
|
||||
|
||||
Reference in New Issue
Block a user