From: Art Cancro Date: Sun, 3 Jul 2011 22:21:51 +0000 (-0400) Subject: Allow the token 'dotgoto?' to bypass wiki hyperlink rewriting, so that we can post... X-Git-Tag: v8.11~626 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=e58db336b65ebc489bd6f864cfaa981ae8598a9b Allow the token 'dotgoto?' to bypass wiki hyperlink rewriting, so that we can post links to specific rooms in wiki pages. This seems hackish and could potentially be replaced by a better solution. --- diff --git a/webcit/html2html.c b/webcit/html2html.c index 7281eb640..5f0ae0f16 100644 --- a/webcit/html2html.c +++ b/webcit/html2html.c @@ -2,7 +2,7 @@ * Output an HTML message, modifying it slightly to make sure it plays nice * with the rest of our web framework. * - * Copyright (c) 2005-2010 by the citadel.org team + * Copyright (c) 2005-2011 by the citadel.org team * * This program is open source software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -386,6 +386,7 @@ void output_html(const char *supplied_charset, int treat_as_wiki, int msgnum, St else if (!strncasecmp(ptr, "'))) ) { @@ -393,7 +394,11 @@ void output_html(const char *supplied_charset, int treat_as_wiki, int msgnum, St StrBufAppendPrintf(converted_msg, new_window); ptr = &ptr[8]; } - else if ( (treat_as_wiki) && (strncasecmp(ptr, "