]> code.citadel.org Git - citadel.git/blobdiff - webcit/who.c
Replace occurrences of % throughout the HTML with %% so as to be friendly
[citadel.git] / webcit / who.c
index dadbf041c632f01ba227efa9a28427c77ffbec32..ab2ad90bd00602ad7e18cc18345c507da91d58e3 100644 (file)
@@ -59,12 +59,12 @@ void whobbs(void)
                "</SCRIPT>\n"
        );
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=007700><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"<B>Users currently on ");
        escputs(serv_info.serv_humannode);
        wprintf("</B></FONT></TD></TR></TABLE>\n");
 
-       wprintf("<CENTER>\n<TABLE BORDER=1 WIDTH=100%>\n<TR>\n");
+       wprintf("<CENTER>\n<TABLE BORDER=1 WIDTH=100%%>\n<TR>\n");
        wprintf("<TH>Session ID</TH>\n");
        wprintf("<TH>User Name</TH>\n");
        wprintf("<TH>Room</TH>");
@@ -184,7 +184,7 @@ void edit_me(void)
 
                output_headers(3);
 
-               wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=000077><TR><TD>");
+               wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=000077><TR><TD>");
                wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"><B>");
                wprintf("Edit your session display");
                wprintf("</B></FONT></TD></TR></TABLE>\n");
@@ -197,7 +197,7 @@ void edit_me(void)
 
                wprintf("<FORM METHOD=\"POST\" ACTION=\"/edit_me\">\n");
 
-               wprintf("<TABLE border=0 width=100%>\n");
+               wprintf("<TABLE border=0 width=100%%>\n");
 
                wprintf("<TR><TD><B>Room name:</B></TD>\n<TD>");
                wprintf("<INPUT TYPE=\"text\" NAME=\"fake_roomname\" MAXLENGTH=\"64\">\n");