Fix assumption that StringStream.peek returns a string
Fix assumption that StringStream.peek returns a string

Closes #776

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