cvs: smarty /docs/en/designers/language-basic-syntax language-escaping.xml

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1118942080@cvsserver>
messju		Thu Jun 16 13:14:40 2005 EDT

  Modified files:              
    /smarty/docs/en/designers/language-basic-syntax	
                                                   	language-escaping.xml 
  Log:
  reverted example. it was good as is.
  
  
  
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-basic-syntax/language-escaping.xml?r1=1.5&r2=1.6&ty=u
Index: smarty/docs/en/designers/language-basic-syntax/language-escaping.xml
diff -u smarty/docs/en/designers/language-basic-syntax/language-escaping.xml:1.5 smarty/docs/en/designers/language-basic-syntax/language-escaping.xml:1.6
--- smarty/docs/en/designers/language-basic-syntax/language-escaping.xml:1.5	Fri May 27 12:25:01 2005
+++ smarty/docs/en/designers/language-basic-syntax/language-escaping.xml	Thu Jun 16 13:14:40 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <sect1 id="language.escaping">
  <title>Escaping Smarty Parsing</title>
  <para>
@@ -51,11 +51,11 @@
   <programlisting>
 <![CDATA[
 <script language="javascript">
-  var foo = 'bar';
+  var foo = <!--{$foo}-->;
   function dosomething() {
     alert("foo is " + foo);
- }
-dosomething();
+  }
+  dosomething();
 </script>
 ]]>
   </programlisting>

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.