From f22b600c925131bb767db73d77dc595f18a1406a Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Tue, 5 May 2009 12:59:39 -0400 Subject: [PATCH] fixed metaform so the variables in the generated html template for the listing are encoded properly --- metaform.php | 2 ++ metaform/template.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/metaform.php b/metaform.php index a556f1a..b2d3c21 100644 --- a/metaform.php +++ b/metaform.php @@ -272,6 +272,8 @@ function make_html($whole_file = true) { $tem->set('listing_enc', 'yesno'); } elseif($input == 'date') { $tem->set('listing_enc', 'mmddyyyy'); + } else { + $tem->set('listing_enc', 'html'); } $tem->show('listing_head_col'); $tem->show('listing_row_col'); diff --git a/metaform/template.html b/metaform/template.html index 3dd3abb..68dac08 100644 --- a/metaform/template.html +++ b/metaform/template.html @@ -85,7 +85,7 @@

[Add a new ~singular~]

- + -- 1.7.10.4
~caption~~caption~ 
~~~name~.~listing_enc~~~ [delete this ~singular~]