From 0e825f80816d1166a72cee722663a9a2d3c16782 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 24 Apr 2012 11:43:52 -0400 Subject: [PATCH] Added more 'go=' parameters to links in the wiki view, thereby making those links more perma. --- webcit/html2html.c | 4 +++- webcit/static/t/roombanner.html | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/webcit/html2html.c b/webcit/html2html.c index 659f454c3..acc781661 100644 --- a/webcit/html2html.c +++ b/webcit/html2html.c @@ -400,7 +400,9 @@ void output_html(const char *supplied_charset, int treat_as_wiki, int msgnum, St && (strncasecmp(ptr, "CurRoom.name, NULL); + StrBufAppendPrintf(converted_msg, "?page="); ptr = &ptr[9]; } else { diff --git a/webcit/static/t/roombanner.html b/webcit/static/t/roombanner.html index 060ce854d..1ffa2432f 100644 --- a/webcit/static/t/roombanner.html +++ b/webcit/static/t/roombanner.html @@ -6,7 +6,7 @@

">

-

+

?page=">

-- 2.30.2