mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
24 lines
459 B
JavaScript
24 lines
459 B
JavaScript
delete Object.freeze;
|
|
|
|
var html = require('../cjs');
|
|
|
|
console.assert(
|
|
html.escape('&<>\'"') === '&<>'"',
|
|
'correct escape'
|
|
);
|
|
|
|
console.assert(
|
|
html.escape('<>\'"&') === '<>'"&',
|
|
'correct inverted escape'
|
|
);
|
|
|
|
console.assert(
|
|
'&<>\'"' === html.unescape('&<>'"'),
|
|
'correct unescape'
|
|
);
|
|
|
|
console.assert(
|
|
'<>\'"&' === html.unescape('<>'"&'),
|
|
'correct inverted unescape'
|
|
);
|