mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
#5522 test
This commit is contained in:
@@ -12,13 +12,13 @@ var plugins = require('../plugins');
|
||||
var translator = require('../translator');
|
||||
|
||||
module.exports = function (Posts) {
|
||||
|
||||
Posts.urlRegex = {
|
||||
regex: /href="([^"]+)"/g,
|
||||
length: 6,
|
||||
};
|
||||
|
||||
Posts.imgRegex = {
|
||||
regex:/src="([^"]+)"/g,
|
||||
regex: /src="([^"]+)"/g,
|
||||
length: 5,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user