X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fhtml2html.c;h=6992c406272c77e90c4811a2174e48462c61503c;hb=f49fd54ae0059a44bd32f68c20150b467e569afc;hp=794f69165c15eb302f1a9cfc92722434bcb504e9;hpb=d4639c4ce194899985c422ae6fa9e2a172e6b4e0;p=citadel.git diff --git a/webcit/html2html.c b/webcit/html2html.c index 794f69165..6992c4062 100644 --- a/webcit/html2html.c +++ b/webcit/html2html.c @@ -17,7 +17,7 @@ * Also convert weird character sets to UTF-8 if necessary. * \param charset the input charset */ -void output_html(char *charset) { +void output_html(char *charset, int treat_as_wiki) { char buf[SIZ]; char *msg; char *ptr; @@ -151,14 +151,32 @@ void output_html(char *charset) { ptr = &ptr[16]; ++alevel; } - /** Make links open in a separate window */ + /** Make external links open in a separate window */ else if (!strncasecmp(ptr, "