Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ufo
/
ufo-platform
·
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
Plain Diff
Browse Files
Authored by
mali
6 years ago
Commit
1814afb03314422fd36a6fa5ff8770fd6de9ce25
2 parents
c1c6488f
b03b20cd
Merge branch 'master' into test6.9.7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
web/src/main/webapp/js/common/common.js
web/src/main/webapp/js/common/common.js
View file @
1814afb
//通用的LoadFilter
function
replacexss
(
data
)
{
return
data
.
replace
(
/</ig
,
'<'
).
replace
(
/>/ig
,
'>'
).
replace
(
/"/ig
,
'“'
).
replace
(
/'/ig
,
'‘'
);
if
(
data
)
{
return
data
.
replace
(
/</ig
,
'<'
).
replace
(
/>/ig
,
'>'
).
replace
(
/"/ig
,
'“'
).
replace
(
/'/ig
,
'‘'
);
}
//return data.replace(/</ig, '<').replace(/>/ig, '>').replace(/"/ig, '“').replace(/'/ig, '‘');
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment