diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-04-05 23:36:34 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-04-05 23:36:34 +0200 |
commit | d632e3c9d3a9fb6e3fd2dd7b28edca99012d7782 (patch) | |
tree | b7a31b7254249ecfc051c91fd14951cf28c83b20 /dpi/vsource.c | |
parent | 6d3fce97e3ae6dec3a0400332d8b0a00ca0bc08b (diff) |
add id="dillo_vs" to view source page
This allows for custom styling of view source by adjusting
~/.dillo/style.css, e.g:
#dillo_vs {background-color: orange !important}
Diffstat (limited to 'dpi/vsource.c')
-rw-r--r-- | dpi/vsource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dpi/vsource.c b/dpi/vsource.c index 9dbfd5f2..e8eb6f34 100644 --- a/dpi/vsource.c +++ b/dpi/vsource.c @@ -110,7 +110,7 @@ void send_html_text(Dsh *sh, int data_size) "<html><head>\n" "<style type=\"text/css\">PRE {white-space: pre-wrap}\n" "</style>\n" - "</head><body>\n<table cellpadding='0'>\n"); + "</head><body id=\"dillo_vs\">\n<table cellpadding='0'>\n"); while (bytes_read < data_size && (src_str = a_Dpip_dsh_read_token(sh, 1))) { |