Author: remm
Date: Mon Sep 18 13:10:04 2006
New Revision: 447535

URL: http://svn.apache.org/viewvc?view=rev&rev=447535
Log:
- When EL is ignored, restore '#' correctly in template text.

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java?view=diff&rev=447535&r1=447534&r2=447535
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java 
(original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java Mon Sep 
18 13:10:04 2006
@@ -898,7 +898,7 @@
                                 n.getEL().getMapName(), false) + ");");
             } else {
                 out.printil("out.write("
-                        + quote("${" + new String(n.getText()) + "}") + ");");
+                        + quote(n.getType() + "{" + new String(n.getText()) + 
"}") + ");");
             }
             n.setEndJavaLine(out.getJavaLine());
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to