strcat(outbuf, nl);
}
+#if 0
+ These seemed like a good idea at the time, but it just makes a mess.
+
else if (
(!strcasecmp(tag, "B"))
|| (!strcasecmp(tag, "/B"))
|| (!strcasecmp(tag, "/STRONG"))
) {
strcat(outbuf, "*");
-
}
else if (
|| (!strcasecmp(tag, "/EM"))
) {
strcat(outbuf, "/");
-
}
else if (
|| (!strcasecmp(tag, "/U"))
) {
strcat(outbuf, "_");
-
}
+#endif
else if (!strcasecmp(tag, "BR")) {
strcat(outbuf, nl);
tag[strlen(tag)] = ch;
}
- else if (!nest) {
+ else if ((!nest) && (styletag == 0)) {
outbuf[strlen(outbuf)+1] = 0;
outbuf[strlen(outbuf)] = ch;
}