[htmlmixed mode] Make detection of opening script/style tags more robust
[htmlmixed mode] Make detection of opening script/style tags more robust

Closes #1271

sgoo/CodeMirror,nightwing/CodeMirror,supriyantomaftuh/CodeMirror,jhnesk/CodeMirror,schanzer/CodeMirror,TechnicalPursuit/CodeMirror,increpare/CodeMirror,webida/CodeMirror,fmoliveira/CodeMirror,ksanaforge/CodeMirror,notepadqq/CodeMirror,vanloswang/CodeMirror,thomasjm/CodeMirror,fpco/codemirror,pabloferz/CodeMirror,TechnicalPursuit/CodeMirror,DustinH/CodeMirror,bluesh55/CodeMirror,elisee/CodeMirror,melpon/CodeMirror,namin/CodeMirror,dudb/CodeMirror,qweasd1/CodeMirror,angelozerr/CodeMirror,jochenberger/CodeMirror,vanloswang/CodeMirror,skylarkcob/CodeMirror,kangkot/CodeMirror,hackmdio/CodeMirror,wingify/CodeMirror,melpon/CodeMirror,ksanaforge/CodeMirror,SidPresse/CodeMirror,michaelerobertsjr/CodeMirror,INTELOGIE/CodeMirror,crazy4chrissi/CodeMirror,djadmin/CodeMirror,anthonygego/CodeMirror,shiren/CodeMirror,increpare/CodeMirror,NumbersInternational/CodeMirror,trumanliu/CodeMirror,ejgallego/CodeMirror,ZombieHippie/CodeMirror,sekcheong/CodeMirror,jayaprabhakar/CodeMirror,Allenice/CodeMirror,amsul/CodeMirror,tpphu/CodeMirror,nightwing/CodeMirror,mtaran-google/CodeMirror,wbinnssmith/CodeMirror,webida/CodeMirror,Allenice/CodeMirror,mizchi/CodeMirror,ZombieHippie/CodeMirror,GerHobbelt/CodeMirror2,philuchansky/CodeMirror,happibum/CodeMirror-main,kevinushey/CodeMirror,qweasd1/CodeMirror,davidpham87/CodeMirror,Carreau/CodeMirror,systay/CodeMirror,kerabromsmu/CodeMirror,Aliccer/CodeMirror,mizchi/CodeMirror,jessegrosjean/CodeMirror,GerHobbelt/CodeMirror2,sourcelair/CodeMirror,jansel/CodeMirror,morrisonwudi/CodeMirror,vanloswang/CodeMirror,vincentwoo/CodeMirror,ashmind/CodeMirror,amsul/CodeMirror,camellhf/CodeMirror,namin/CodeMirror,qiankun007/CodeMirror,jansel/CodeMirror,davidpham87/CodeMirror,belph/CodeMirror,angelozerr/CodeMirror,ThebingServices/CodeMirror,sanyaade-iot/CodeMirror,isdampe/CodeMirror,djadmin/CodeMirror,mihailik/CodeMirror,kerabromsmu/CodeMirror,r7kamura/CodeMirror,michaelerobertsjr/CodeMirror,melpon/CodeMirror,antimatter15/CodeMirror,buchslava/CodeMirror,mightyguava/CodeMirror,manderson23/CodeMirror,CartoDB/CodeMirror,karevn/CodeMirror,skylarkcob/CodeMirror,ThebingServices/CodeMirror,schanzer/CodeMirror,rrandom/CodeMirror,Ermlab/CodeMirror,dudb/CodeMirror,notepadqq/CodeMirror,anthonygego/CodeMirror,cintiamh/CodeMirror,MarcelGerber/CodeMirror,cben/CodeMirror,fpco/codemirror,ssxxue/CodeMirror,ashmind/CodeMirror,bgrins/CodeMirror,loopspace/CodeMirror,bfrohs/CodeMirror,philuchansky/CodeMirror,dbarnett/CodeMirror,amshali/CodeMirror,amshali/CodeMirror,nawroth/CodeMirror,vincentwoo/CodeMirror,dudb/CodeMirror,ficristo/CodeMirror,jochenberger/CodeMirror,SidPresse/CodeMirror,MarcelGerber/CodeMirror,hccampos/CodeMirror,xeronith/CodeMirror,ssxxue/CodeMirror,kolya-ay/CodeMirror,belph/CodeMirror,fmoliveira/CodeMirror,Aliccer/CodeMirror,Carreau/CodeMirror,xeronith/CodeMirror,alur/CodeMirror,hccampos/CodeMirror,codio/CodeMirror,grzegorzmazur/CodeMirror,systay/CodeMirror,shiren/CodeMirror,jkaplon/CodeMirror,Dominator008/CodeMirror,flyskyko/CodeMirror,NeZaMy/CodeMirror2,TDaglis/CodeMirror,karevn/CodeMirror,matthewbauer/CodeMirror,loopspace/CodeMirror,trumanliu/CodeMirror,axter/CodeMirror,d0liver/CodeMirror,rasata/CodeMirror,Navaneethsen/CodeMirror,ThebingServices/CodeMirror,crazy4chrissi/CodeMirror,symbla/CodeMirror,fivetran/CodeMirror,bfrohs/CodeMirror,SidPresse/CodeMirror,alur/CodeMirror,ejgallego/CodeMirror,amshali/CodeMirror,michaelerobertsjr/CodeMirror,TDaglis/CodeMirror,Allenice/CodeMirror,ZombieHippie/CodeMirror,qiankun007/CodeMirror,thomasjm/CodeMirror,philuchansky/CodeMirror,sanyaade-iot/CodeMirror,bfrohs/CodeMirror,apatawari/CodeMirror,symbla/CodeMirror,ejgallego/CodeMirror,Icenium/CodeMirror,namin/CodeMirror,d0liver/CodeMirror,NumbersInternational/CodeMirror,dperetti/CodeMirror,apatawari/CodeMirror,webida/CodeMirror,rrandom/CodeMirror,kolya-ay/CodeMirror,isdampe/CodeMirror,morrisonwudi/CodeMirror,apatawari/CodeMirror,kk9599/CodeMirror,wingify/CodeMirror,InternetGuru/CodeMirror,hackmdio/CodeMirror,nawroth/CodeMirror,symbla/CodeMirror,wbinnssmith/CodeMirror,elisee/CodeMirror,bgrins/CodeMirror,Jisuanke/CodeMirror,Dominator008/CodeMirror,sekcheong/CodeMirror,axter/CodeMirror,sourcelair/CodeMirror,cintiamh/CodeMirror,karevn/CodeMirror,INTELOGIE/CodeMirror,joshterrell805-historic/CodeMirror,cben/CodeMirror,supriyantomaftuh/CodeMirror,fmoliveira/CodeMirror,pjkui/CodeMirror,sekcheong/CodeMirror,happibum/CodeMirror-main,jpolitz/CodeMirror,karthikeyansam/CodeMirror,camellhf/CodeMirror,buchslava/CodeMirror,schanzer/CodeMirror,bluesh55/CodeMirror,skylarkcob/CodeMirror,matthewbauer/CodeMirror,flyskyko/CodeMirror,jhnesk/CodeMirror,karthikeyansam/CodeMirror,MarcelGerber/CodeMirror,rasata/CodeMirror,davidpham87/CodeMirror,nightwing/CodeMirror,supriyantomaftuh/CodeMirror,kuangyeheng/CodeMirror,sgoo/CodeMirror,webida/CodeMirror,agendor/CodeMirror,KamranMackey/CodeMirror,jpolitz/CodeMirror,qweasd1/CodeMirror,buchslava/CodeMirror,manderson23/CodeMirror,kuangyeheng/CodeMirror,ksanaforge/CodeMirror,axter/CodeMirror,mightyguava/CodeMirror,EasonYi/CodeMirror,mtaran-google/CodeMirror,kk9599/CodeMirror,manderson23/CodeMirror,NeZaMy/CodeMirror2,AlanWasTaken/codemirror,EasonYi/CodeMirror,Aliccer/CodeMirror,dbarnett/CodeMirror,ashmind/CodeMirror,Jisuanke/CodeMirror,EasonYi/CodeMirror,matthewbauer/CodeMirror,KamranMackey/CodeMirror,kuangyeheng/CodeMirror,shiren/CodeMirror,vincentwoo/CodeMirror,Dominator008/CodeMirror,ficristo/CodeMirror,DustinH/CodeMirror,kangkot/CodeMirror,Navaneethsen/CodeMirror,jessegrosjean/CodeMirror,bocharsky-bw/CodeMirror,gkoberger/CodeMirror,pinbe/CodeMirror,dbarnett/CodeMirror,jessegrosjean/CodeMirror,alur/CodeMirror,sanyaade-iot/CodeMirror,hccampos/CodeMirror,Ermlab/CodeMirror,antimatter15/CodeMirror,jayaprabhakar/CodeMirror,elisee/CodeMirror,crazy4chrissi/CodeMirror,TDaglis/CodeMirror,bocharsky-bw/CodeMirror,abdelouahabb/CodeMirror,jkaplon/CodeMirror,abdelouahabb/CodeMirror,hackmdio/CodeMirror,r7kamura/CodeMirror,ssxxue/CodeMirror,nawroth/CodeMirror,mihailik/CodeMirror,belph/CodeMirror,camellhf/CodeMirror,pabloferz/CodeMirror,grzegorzmazur/CodeMirror,adobe/CodeMirror2,kk9599/CodeMirror,mtaran-google/CodeMirror,increpare/CodeMirror,NeZaMy/CodeMirror2,thomasjm/CodeMirror,agendor/CodeMirror,pinbe/CodeMirror,DustinH/CodeMirror,kevinushey/CodeMirror,NumbersInternational/CodeMirror,antimatter15/CodeMirror,INTELOGIE/CodeMirror,systay/CodeMirror,fivetran/CodeMirror,Icenium/CodeMirror,qiankun007/CodeMirror,rasata/CodeMirror,notepadqq/CodeMirror,tpphu/CodeMirror,Icenium/CodeMirror,codio/CodeMirror,abdelouahabb/CodeMirror,AlanWasTaken/codemirror,r7kamura/CodeMirror,agendor/CodeMirror,adobe/CodeMirror2,flyskyko/CodeMirror,gkoberger/CodeMirror,loopspace/CodeMirror,morrisonwudi/CodeMirror,joshterrell805-historic/CodeMirror,InternetGuru/CodeMirror,pabloferz/CodeMirror,mihailik/CodeMirror,trumanliu/CodeMirror,dperetti/CodeMirror,kangkot/CodeMirror,dperetti/CodeMirror,bluesh55/CodeMirror,rustemferreira/CodeMirror,codio/CodeMirror,sourcelair/CodeMirror,CartoDB/CodeMirror,Navaneethsen/CodeMirror,anthonygego/CodeMirror,karthikeyansam/CodeMirror,jpolitz/CodeMirror,gkoberger/CodeMirror,bgrins/CodeMirror,rrandom/CodeMirror,xeronith/CodeMirror,mightyguava/CodeMirror,adobe/CodeMirror2,mizchi/CodeMirror,tpphu/CodeMirror,jkaplon/CodeMirror,grzegorzmazur/CodeMirror,rustemferreira/CodeMirror,KamranMackey/CodeMirror,isdampe/CodeMirror,Jisuanke/CodeMirror,AlanWasTaken/codemirror,cintiamh/CodeMirror,rustemferreira/CodeMirror,InternetGuru/CodeMirror,jayaprabhakar/CodeMirror,wingify/CodeMirror,kerabromsmu/CodeMirror,happibum/CodeMirror-main,pinbe/CodeMirror,pjkui/CodeMirror,TechnicalPursuit/CodeMirror,bocharsky-bw/CodeMirror,pjkui/CodeMirror,djadmin/CodeMirror,d0liver/CodeMirror,ficristo/CodeMirror