mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Fixed #2363
This commit is contained in:
parent
890b670293
commit
6424fe33ae
2 changed files with 13 additions and 13 deletions
|
@ -204,16 +204,6 @@ export default {
|
|||
return null;
|
||||
},
|
||||
|
||||
htmlEncode(str){
|
||||
if (str) {
|
||||
return str.replace(/[^\w. ]/gi, function(c){
|
||||
return '&#'+c.charCodeAt(0)+';';
|
||||
});
|
||||
}
|
||||
|
||||
return null;
|
||||
},
|
||||
|
||||
isEmpty(value) {
|
||||
return (
|
||||
value === null || value === undefined || value === '' ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue