Index: openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.adp,v diff -u -r1.4 -r1.5 --- openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.adp 7 Aug 2017 23:48:02 -0000 1.4 +++ openacs-4/packages/acs-templating/www/doc/no-quote-upgrade.adp 25 Apr 2018 08:42:17 -0000 1.5 @@ -68,8 +68,7 @@ <input name=var2 value="value2"> ... real form stuff ... </form> - - + ACS has a convenience function for creating hidden form variables, export_form_vars @@ -79,8 +78,7 @@ In that case, the Tcl code would set the HTML code to a variable:
 set form_vars [export_vars -form {var1 var2}]
-      
-
+ The ADP will simply refer to the form_vars variable: @@ -89,8 +87,7 @@ \@form_vars\@ <!-- WRONG! Needs noquote --> ... real form stuff ... </form> - - + This will no longer work as intended because form_vars @@ -105,8 +102,7 @@ \@form_vars;noquote\@ ... real form stuff ... </form> - - +

Snippets of HTML produced by Tcl code, aka widgets @@ -153,14 +149,12 @@ <h1>\@heading\@</h1> <slave> </body> - -slave:

+      
slave:
 <master>
 <property name="title">\@title\@</property>
 <property name="heading">\@title\@</property>
 ...
-      
-
+ The obvious intention of the master is to allow its slave templates @@ -215,23 +209,20 @@ <property name="doc(title)">\@title;literal\@</property> <property name="heading">\@title;literal\@</property> ... - - +

The exact same problems when the include statement passes some text. Here is an example:

Including template:
 <include src="user-kick-form" id=\@kicked_id\@ reason=\@default_reason\@>
-      
-
Included template:
+      
Included template:
 <form action="do-kick" method=POST>
   Kick user \@name\@.<br>
   Reason: <textarea name=reason>\@reason\@</textarea><br>
   <input type="submit" value="Kick">
 </form>
-      
-
+
Here an include statement is used to include an HTML form widget @@ -249,8 +240,7 @@
Including template, sans over-quoting:
 <include src="user-kick-form" id=\@kicked_id;literal\@ reason=\@default_reason;literal\@>
-      
-
+

Upgrade Overview.