Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
9a05da4654
2 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  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': {},

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
js/vendor/highlight.pack.js


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä