mirror of
https://github.com/hyzendust/hyzendust.github.io.git
synced 2026-07-01 07:22:17 +02:00
Update: character escape
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
// ── Helpers ──
|
// ── Helpers ──
|
||||||
function escHtml(s) {
|
function escHtml(s) {
|
||||||
return s.replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"');
|
return s.replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"').replace(/'/g,''');
|
||||||
}
|
}
|
||||||
|
|
||||||
function timeAgo(iso) {
|
function timeAgo(iso) {
|
||||||
|
|||||||
Reference in New Issue
Block a user