aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-08-27 12:50:16 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-08-27 12:50:16 -0300
commitcd7c30d5f792e2810b771cfc44b5a26dd7d737f9 (patch)
tree1c3964f041505ece437358c9180986dca2413e9e /lib
parentb96344b5e4cd0af90de3db27c455b7131307f1e8 (diff)
downloadhttruta-cd7c30d5f792e2810b771cfc44b5a26dd7d737f9.tar.gz
httruta-cd7c30d5f792e2810b771cfc44b5a26dd7d737f9.tar.bz2
Fixing sed rules
Diffstat (limited to 'lib')
-rwxr-xr-xlib/httracker/html.sed4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/httracker/html.sed b/lib/httracker/html.sed
index 411ee14..d12f602 100755
--- a/lib/httracker/html.sed
+++ b/lib/httracker/html.sed
@@ -481,8 +481,8 @@ s/&#60;/</g
s/&lt;/</g
s/&#62;/>/g
s/&gt;/>/g
-s/&#38;/&/g
-s/&amp;/&/g
+s/&#38;/\&/g
+s/&amp;/\&/g
# http://www.w3schools.com/tags/ref_entities.asp
# ^([^ \t]+)[ \t]+(&amp;[^;]*;)[ \t]+(&amp;[^;]*;).*$
# s/\2/\1/g\ns/\3/\1/g