Explorar el Código

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 hace 9 años
padre
commit
9a05da4654
Se han modificado 2 ficheros con 3 adiciones y 1 borrados
  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': {},

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
js/vendor/highlight.pack.js


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio