mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[config] Added <html><body> and </body></html>
This commit is contained in:
parent
2f44f512fe
commit
1fb8547c94
@ -1107,7 +1107,7 @@ create_about_config_string(void)
|
||||
/* Scaring. */
|
||||
if (!init_string(&tmpstring)) goto get_me_out;
|
||||
|
||||
add_to_string(&tmpstring, "<table border=\"1\"><tr><th>Option name</th><th>Value</th></tr>\n");
|
||||
add_to_string(&tmpstring, "<html><body><table border=\"1\"><tr><th>Option name</th><th>Value</th></tr>\n");
|
||||
|
||||
origlen = tmpstring.length;
|
||||
smart_config_string(&tmpstring, 2, 0, options->value.tree, NULL, 0,
|
||||
@ -1127,7 +1127,7 @@ create_about_config_string(void)
|
||||
smart_config_output_fn_domain = NULL;
|
||||
}
|
||||
|
||||
add_to_string(&tmpstring, "</table>");
|
||||
add_to_string(&tmpstring, "</table></body></html>");
|
||||
|
||||
if (tmpstring.length > origlen)
|
||||
add_string_to_string(&config, &tmpstring);
|
||||
|
Loading…
Reference in New Issue
Block a user