whitespace
This commit is contained in:
parent
35994e81c6
commit
c7e40ab6c1
@ -22,9 +22,11 @@ var $ = (document.querySelectorAll ?
|
|||||||
);
|
);
|
||||||
|
|
||||||
var nmdc_escape = function(str) {
|
var nmdc_escape = function(str) {
|
||||||
return (''+str).length ? (''+str).
|
return (
|
||||||
replace(/&/g,'&').replace(/\|/g,'|').replace(/\$/g,'$') :
|
(''+str).length
|
||||||
' ';
|
? (''+str).replace(/&/g,'&').replace(/\|/g,'|').replace(/\$/g,'$')
|
||||||
|
: ' '
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
var hesc = function(s) {
|
var hesc = function(s) {
|
||||||
|
Loading…
Reference in New Issue
Block a user