Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <1461294.7PQU9mpPJr@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Thu, 26 Dec 2013 10:42:21 +0100 User-Agent: KNode/4.11.3 Content-Transfer-Encoding: 8Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. <52b9f810$0$9502$9b4e6d93@newsspool1.arcor-online.net> <2691359.uFm2ZBFIHE@PointedEars.de> MIME-Version: 1.0 Lines: 47 NNTP-Posting-Date: 26 Dec 2013 10:42:23 CET NNTP-Posting-Host: 58f3457f.newsspool1.arcor-online.net X-Trace: DXC=8h>>9]KAn:nPKPPVf;4hUjic==]BZ:afn4Fo<]lROoRankgeX?EC@@`:B3KFXJVRebDZm8W4\YJNlfQC@9KaA_Bjm9j3^XMN5`oJ2MXf?nNAmb X-Complaints-To: usenet-abuse@arcor.de Xref: csiph.com comp.lang.javascript:22413 Thomas 'PointedEars' Lahn wrote: > Christoph Michael Becker wrote: >> Denis McMahon wrote: >>> use something like: >>> >>> blah.innerHTML += "<"+"/"+"B>"; >>> >>> to avoid any sequence of '<' + '/' + letter occurring inside the script >>> tags, as these may confuse the rendering engine. >> >> A simpler and more efficient solution to comply with HTML parsers (which >> might consider > The proper terms are _end tag_ and End Tag Open (ETAGO) delimiter, > respectively. ETAGO in script code is only necessary to be escaped if the > code is in an HTML < 5 document. > > Nowadays the easiest and – for several reasons – recommended way to work > around this is to include a script resource. In my experience, over time > inline script code soon grows too much so that it is moved to an included > script resource. There are other potential advantages of the latter, such > as parallel loading and better editor support. This application, being > small, and the script code limited to a single purpose, may be an > exception. > >> blah.innerHTML += "<\/B>" >> > […] >> [1] >> [2] > > Read more carefully before you cite: > > > Latest – as cited: -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.