summaryrefslogtreecommitdiff
path: root/dpi/vsource.c
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-04-05 23:36:34 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-04-05 23:36:34 +0200
commitd632e3c9d3a9fb6e3fd2dd7b28edca99012d7782 (patch)
treeb7a31b7254249ecfc051c91fd14951cf28c83b20 /dpi/vsource.c
parent6d3fce97e3ae6dec3a0400332d8b0a00ca0bc08b (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.c2
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))) {