From developer@47ronin.com Mon Aug 28 17:11:47 2006 From: Glenn Batuyong To: textmate@lists.macromates.com Subject: [TxMt] Suggestion to modify the script (HTML scope) snippet Date: Mon, 28 Aug 2006 10:11:45 -0700 Message-ID: <52211.207.215.153.188.1156785105.squirrel@titan.47ronin.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3624256871348315128==" --===============3624256871348315128== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi there, What about changing the script snippet to: This would make it more palatable under XHTML and of course, it can be modified to make the CDATA enclosures deleteable by tabbing, with a few extra pieces of TextMate code. Just a thought... -- Glenn Batuyong Web Developer http://www.47ronin.com/ -- -- --===============3624256871348315128==-- From throw-away-1@macromates.com Mon Aug 28 20:55:04 2006 From: Allan Odgaard To: textmate@lists.macromates.com Subject: Re: [TxMt] Suggestion to modify the script (HTML scope) snippet Date: Mon, 28 Aug 2006 22:54:57 +0200 Message-ID: In-Reply-To: <52211.207.215.153.188.1156785105.squirrel@titan.47ronin.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4397011646514116374==" --===============4397011646514116374== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On 28/8/2006, at 19:11, Glenn Batuyong wrote: > [...] This would make it more palatable under XHTML But no-one sends their pages as application/xhtml+xml, so even though people like to use XHTML markup, their pages are interpreted as HTML by the browser, and in that mode a script tag ends when the first occurrence of ‘