summaryrefslogtreecommitdiff
path: root/common_codez
diff options
context:
space:
mode:
authorJoe <joe@joelightning.com>2011-12-20 12:21:15 +0000
committerJoe <joe@joelightning.com>2011-12-20 12:21:15 +0000
commitebfef31501ba488d5a602628fd021d48c9d5bcc4 (patch)
treee8f1f4bef306879f07f7cd47676990b05ae4b3ea /common_codez
parentcceb9154a4c5f95aaf56b19b804285704ba88684 (diff)
better way to convert html enities into characters
Diffstat (limited to 'common_codez')
-rw-r--r--common_codez2
1 files changed, 1 insertions, 1 deletions
diff --git a/common_codez b/common_codez
index 3ac359d..dd9e82a 100644
--- a/common_codez
+++ b/common_codez
@@ -2,5 +2,5 @@
function replace_wierd_html_chars
{
- sed 's/&mdash;/—/g ; s/&lt;/</g ; s/&gt;/>/g ; s/&amp;/&/g ; s/&quot;/"/g'
+ w3m -dump -T text/html
}