Undo inappropriate quote substitution in generated HTML.
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 3 Oct 2010 11:56:02 +0000 (13:56 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 3 Oct 2010 11:56:02 +0000 (13:56 +0200)
Commit 173d1687aea88e0e5e1b1d8615ed68ebefb15d08 erroneously
substituted these quotes in html fragments.

src/output/html.c

index 8b062134cde99c0a7f8abf0a02809708fa113dea..4452e40b678bd8feb6accf8fb26b75d750a839eb 100644 (file)
@@ -112,7 +112,7 @@ html_create (const char *file_name, enum settings_output_devices device_type,
   fputs ("<HTML>\n", html->file);
   fputs ("<HEAD>\n", html->file);
   print_title_tag (html->file, "TITLE", _("PSPP Output"));
-  fprintf (html->file, "<META NAME=\"generator\" CONTENT=`%s'>\n", version);
+  fprintf (html->file, "<META NAME=\"generator\" CONTENT=\"%s\">\n", version);
   fputs ("<META http-equiv=\"Content-Style-Type\" content=\"text/css\">\n",
          html->file);
   fputs ("<META HTTP-EQUIV=\"Content-Type\" "
@@ -253,7 +253,7 @@ html_submit (struct output_driver *driver,
                                      html->chart_cnt++);
       if (file_name != NULL)
         {
-          fprintf (html->file, "<IMG SRC=`%s'/>", file_name);
+          fprintf (html->file, "<IMG SRC=\"%s\"/>", file_name);
           free (file_name);
         }
     }