Index: src/html.c =================================================================== RCS file: /sfhome/cvs/dillo/dillo/src/html.c,v retrieving revision 1.234 diff -u -r1.234 html.c --- src/html.c 25 May 2005 17:45:10 -0000 1.234 +++ src/html.c 9 Jul 2005 10:59:15 -0000 @@ -3175,10 +3175,11 @@ const gchar *meta_template = "\n" " \n" +" This page uses the NON-STANDARD meta refresh tag.%s\n" "
Warning:\n" -" This page uses the NON-STANDARD meta refresh tag.
The HTML 4.01 SPEC\n" -" (sec 7.4.4) recommends explicitly to avoid it.
The author wanted you to go\n" " here%s

\n"; + const gchar *redirect_warning = "
The HTML 4.01 SPEC\n" +" (sec 7.4.4) recommends explicitly to avoid it."; const gchar *equiv, *content; gchar *html_msg, delay_str[64]; @@ -3206,7 +3207,8 @@ /* Send a custom HTML message * todo: this is a hairy hack, It'd be much better to build a widget. */ - html_msg = g_strdup_printf(meta_template, content, delay_str); + html_msg = g_strdup_printf(meta_template, *content?redirect_warning:"", + content, delay_str); { DilloHtmlProcessingState SaveFlags = html->InFlags; html->InFlags = IN_BODY;