mirror of
https://github.com/hyzendust/hyzendust.github.io.git
synced 2026-06-30 23:12:16 +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 ──
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user