Browse Source

Add reference to hyperterm, Remove HTML escaping from Highlight.js

Highlight.js does a strange thing of escaping HTML. Why. Anyway, this
was fixed by removing the escape line:

    -return e.replace(/[&<>]/gm,function(e){return I[e]})
    +return e
Weiyi Lou 9 năm trước cách đây
mục cha
commit
9a05da4654
2 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      js/pgsh.js
  2. 0 0
      js/vendor/highlight.pack.js

+ 3 - 1
js/pgsh.js

@@ -77,7 +77,9 @@ function pgsh(ev) {
           '# Parsley Gardens Website\n\n' +
           '1. Made by Weiyi Lou ' + new Date().getFullYear() + '\n' +
           '2. Done for fun.\n' +
-          '3. Not a real terminal.',
+          '3. Not a real terminal.\n' +
+          '4. But <a target="_blank" href="https://hyperterm.org/">this</a>' +
+            ' totally is.'
       }
     },
     'mnt': {},

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
js/vendor/highlight.pack.js


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác