aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorU-AD\carlsoan <carlsoan@gophersjos7275.ad.uc.edu>2018-06-13 23:25:45 -0400
committerU-AD\carlsoan <carlsoan@gophersjos7275.ad.uc.edu>2018-06-13 23:25:45 -0400
commit61827856820e8c50114570b9f0852f52af48a952 (patch)
treea094979755b67b4989ae38f7d97349c466391128
parente113d477e408dd91bc6e4943a72dc2c4322e9d89 (diff)
fixed pretext
-rwxr-xr-xpretext.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pretext.sh b/pretext.sh
index b564514..e5beaa3 100755
--- a/pretext.sh
+++ b/pretext.sh
@@ -1,6 +1,6 @@
#!/bin/bash
echo "<pre style=\"width:100%;white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;\">"
-cat - | sed "s|<|&lt;|g;s|>|&gt;|g"
+cat - | sed 's/</\&lt;/g;s/>/\&gt;/g'
echo "</pre>"
echo "<br/><br/><a href="../tree">View Code</a>"