mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-18 03:31:03 +01:00
Merge pull request #3048 from FokkeZB/image-scheme
Replace schemeless URLs for emails
This commit is contained in:
@@ -157,7 +157,7 @@ module.exports = function(Topics) {
|
||||
pid: postData.pid,
|
||||
subject: '[' + (meta.config.title || 'NodeBB') + '] ' + title,
|
||||
intro: '[[notifications:user_posted_to, ' + postData.user.username + ', ' + title + ']]',
|
||||
postBody: postData.content,
|
||||
postBody: postData.content.replace(/"\/\//g, '"http://'),
|
||||
site_title: meta.config.title || 'NodeBB',
|
||||
username: data.userData.username,
|
||||
userslug: data.userData.userslug,
|
||||
|
||||
Reference in New Issue
Block a user