[GRASS-SVN] r68546 - grass/trunk/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Tue May 31 15:06:56 PDT 2016


Author: wenzeslaus
Date: 2016-05-31 15:06:56 -0700 (Tue, 31 May 2016)
New Revision: 68546

Modified:
   grass/trunk/lib/gis/parser_html.c
Log:
parser: space between thumbnail and text for r.colors (colortable) and d.barscale

It looks better and the text can be copied
after double click in Firefox (before image
or its alt text was copied also).


Modified: grass/trunk/lib/gis/parser_html.c
===================================================================
--- grass/trunk/lib/gis/parser_html.c	2016-05-31 19:02:50 UTC (rev 68545)
+++ grass/trunk/lib/gis/parser_html.c	2016-05-31 22:06:56 UTC (rev 68546)
@@ -259,7 +259,7 @@
                             
                             if (thumbnails)
                                 fprintf(stdout, "<img width=\"80\" height=\"12\" "
-                                        "src=\"%s/%s.png\" alt=\"%s\">",
+                                        "src=\"%s/%s.png\" alt=\"%s\"> ",
                                         thumbnails, opt->opts[i], opt->opts[i]);
                         }
 			print_escaped_for_html(stdout, opt->opts[i]);



More information about the grass-commit mailing list