// Output an HTML message, modifying it slightly to make sure it plays nice
// with the rest of our web framework.
//
// Output an HTML message, modifying it slightly to make sure it plays nice
// with the rest of our web framework.
//
//
// This program is open source software. Use, duplication, or disclosure is subject to the GNU General Public License v3.
//
// This program is open source software. Use, duplication, or disclosure is subject to the GNU General Public License v3.
// Sanitize and enhance an HTML message for display.
// Also convert weird character sets to UTF-8 if necessary.
// Also fixup img src="cid:..." type inline images to fetch the image
// Sanitize and enhance an HTML message for display.
// Also convert weird character sets to UTF-8 if necessary.
// Also fixup img src="cid:..." type inline images to fetch the image
-StrBuf *html2html(const char *supplied_charset, int treat_as_wiki, char *roomname, long msgnum, StrBuf *Source) {
+StrBuf *html2html(const char *charset_in, int treat_as_wiki, char *roomname, long msgnum, StrBuf *Source) {
sprintf(new_window, "<a target=\"%s\" href=", TARGET);
content_length = StrLength(Source);
sprintf(new_window, "<a target=\"%s\" href=", TARGET);
content_length = StrLength(Source);