summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorjwinnie <jwinnie@tilde.institute>2021-11-29 21:40:12 -0500
committerjwinnie <jwinnie@tilde.institute>2021-11-29 21:40:12 -0500
commit29cdd995bec13064b7dbf9f36b5831388fb6d93c (patch)
tree5ab917aef1a8e3124c83e34b7d4ab4e5e2ce3d58
parent0af52bf531c64f6b7d0c10bdbce8dc0cd9bf1661 (diff)
downloadgmi2html-29cdd995bec13064b7dbf9f36b5831388fb6d93c.tar.gz
Remove unsemantic HTML decorations (use CSS instead!)
-rwxr-xr-xgmi2html.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/gmi2html.awk b/gmi2html.awk
index 3092852..cba6c20 100755
--- a/gmi2html.awk
+++ b/gmi2html.awk
@@ -119,7 +119,7 @@ BEGIN {
 /^&gt;/ {
     sub(/^&gt;[ \t]*/, "")
 
-    printf "<blockquote><p>&ldquo;%s&rdquo;</p></blockquote>", $0
+    printf "<blockquote>%s</blockquote>", $0
     next
 }
 
@@ -147,7 +147,7 @@ BEGIN {
         text = url
     }
 
-    printf "<p><code>=&gt;</code> <a href=\"%s\">%s</a></p>", url, text
+    printf "<p><a href=\"%s\">%s</a></p>", url, text
     next
 }