From e58db336b65ebc489bd6f864cfaa981ae8598a9b Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sun, 3 Jul 2011 18:21:51 -0400 Subject: [PATCH] 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. --- webcit/html2html.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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, "