--- libsynchtml.pl.dist	Wed Sep  5 22:05:35 2001
+++ libsynchtml.pl	Fri Oct 26 19:21:33 2001
@@ -558,6 +558,10 @@
     
     # TITLE
     $htmlsubject = $e{"h:http-subject:"} || $e{"h:Subject:"} || "Article $ID";
+    if ($USE_MIME && ($htmlsubject =~ /ISO/i)) {
+	$htmlsubject = &DecodeMimeStrings($htmlsubject);
+    } 
+    &ConvSpecialChars(*htmlsubject);
     $HtmlTitle = 
 	"Article $ID at $Now From: $From_address Subject: $htmlsubject";
     $HtmlTitleForIndex = 
@@ -866,7 +870,11 @@
     print STDERR "Conv2HRef(\$url = $url, \$x = $x)\n" if $debug || $debug_html;
     &jcode'convert(*x, 'jis'); #';
 
-    "<A HREF=\"$url\">$url</A>$x";
+    if ($url =~ m/(.*)&gt;$/) {
+	"<A HREF=\"$1\">$1</A>&gt;$x";
+    } else {
+	"<A HREF=\"$url\">$url</A>$x";
+    }
 }
 
 # obsolete ?
