changeset 1643:c5638daea2fc

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}
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Mon, 05 Apr 2010 23:36:34 +0200
parents a4eb350d3db2
children 2650456b8199
files dpi/vsource.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dpi/vsource.c	Sun Apr 04 00:10:43 2010 +0000
+++ b/dpi/vsource.c	Mon Apr 05 23:36:34 2010 +0200
@@ -110,7 +110,7 @@
                      "<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))) {