tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkuhn...@apache.org
Subject svn commit: r545792 - /tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/core.js
Date Sat, 09 Jun 2007 20:12:37 GMT
Author: jkuhnert
Date: Sat Jun  9 13:12:37 2007
New Revision: 545792

URL: http://svn.apache.org/viewvc?view=rev&rev=545792
Log:
Fixes TAPESTRY-1552.  Same old mozilla quirckyness where xml input containing an empty tag
is rendered as a single element but really needs to be rendered as two tags.

Modified:
    tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/core.js

Modified: tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/core.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/core.js?view=diff&rev=545792&r1=545791&r2=545792
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/core.js (original)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/core.js Sat Jun  9 13:12:37
2007
@@ -445,8 +445,8 @@
  */
 tapestry.html={
 
-    TextareaRegexp:new RegExp('<textarea(.*?)/>'), // regexp for compact textarea elements
-    TextareaReplacer:'<textarea$1></textarea>', // replace pattern for compact
textareas
+    TextareaRegexp:new RegExp('<([a-zA-Z]?)\\s(.*?)/>'), // regexp for compact textarea
elements
+    TextareaReplacer:'<$1 $2></$1>', // replace pattern for compact textareas
 	
     /**
 	 * Function: getContentAsString



Mime
View raw message