Understood. Thank you for response 🙂
Alter home page API to also get html code in post's content
-
Hello everyone,
I was wondering if anybody knew what file would I have to alter so that the home page's API returns the html code in a post's content. So if a post contains an embedded YouTube video the home page's API just returns '<p></p>\n' as the content.
-
Change stripTags to false here https://github.com/NodeBB/NodeBB/blob/master/src/categories/recentreplies.js#L39
-
@baris thanks a bunch..!