Răsfoiți Sursa

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 ani în urmă
părinte
comite
9a05da4654
2 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  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': {},

Fișier diff suprimat deoarece este prea mare
+ 0 - 0
js/vendor/highlight.pack.js


Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff