Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
李靖
2017-08-03 14:54:28 +0800
Commit
4c83abde24a8be5638acee4949cb86648ec41c32
1 parent
16a0ef75
helpers.httpContent
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
utils/helpers.js
utils/helpers.js
View file @
4c83abd
...
...
@@ -250,6 +250,10 @@ module.exports = {
return
opt
.
inverse
(
this
);
}
},
/**
* 字段图片包含http
*/
httpContent
:
function
(
contentData
)
{
if
(
contentData
)
{
const
imgReg
=
/<img
[^
>
]
*src=
[
'"
]([^
'"
]
+
)[^
>
]
*>/gi
;
...
...
Please
register
or
login
to post a comment