Improve markup detection, fixes #4695
Improve markup detection, fixes #4695

bbodenmiller/gitlabhq,ibiart/gitlabhq,t-zuehlsdorff/gitlabhq,kemenaran/gitlabhq,wangcan2014/gitlabhq,Soullivaneuh/gitlabhq,sonalkr132/gitlabhq,8thcolor/eurucamp2014-htdsadr,bladealslayer/gitlabhq,pjknkda/gitlabhq,MauriceMohlek/gitlabhq,joalmeid/gitlabhq,8thcolor/testing-public-gitlabhq,SVArago/gitlabhq,youprofit/gitlabhq,aaronsnyder/gitlabhq,ZeoAlliance/gitlabhq,salipro4ever/gitlabhq,williamherry/gitlabhq,lvfeng1130/gitlabhq,ArthurHoaro/Public-GitLab,per-garden/gitlabhq,nguyen-tien-mulodo/gitlabhq,Keystion/gitlabhq,hq804116393/gitlabhq,sue445/gitlabhq,pjknkda/gitlabhq,rfeese/gitlab-ce,icedwater/gitlabhq,mmkassem/gitlabhq,childbamboo/gitlabhq,sue445/gitlabhq,michaKFromParis/gitlabhq,nmav/gitlabhq,fearenales/gitlabhq,axilleas/gitlabhq,duduribeiro/gitlabhq,chadyred/gitlabhq,goeun/myRepo,liyakun/gitlabhq,jaepyoung/gitlabhq,julianengel/gitlabhq,WSDC-NITWarangal/gitlabhq,gopeter/gitlabhq,martijnvermaat/gitlabhq,initiummedia/gitlabhq,youprofit/gitlabhq,SVArago/gitlabhq,dreampet/gitlab,pupaxxo/gitlabhq,8thcolor/rubyconfau2015-sadr,mathstuf/gitlabhq,mente/gitlabhq,copystudy/gitlabhq,jvanbaarsen/gitlabhq,Burick/gitlabhq,darkrasid/gitlabhq,NuLL3rr0r/gitlabhq,manfer/gitlabhq,Soullivaneuh/gitlabhq,fearenales/gitlabhq,ayufan/gitlabhq,WSDC-NITWarangal/gitlabhq,kotaro-dev/gitlab-6-9,atomaka/gitlabhq,duduribeiro/gitlabhq,dukex/gitlabhq,vjustov/gitlabhq,rhels/gitlabhq,xuvw/gitlabhq,rumpelsepp/gitlabhq,stanhu/gitlabhq,aaronsnyder/gitlabhq,it33/gitlabhq,8thcolor/testing-public-gitlabhq,cncodog/gitlab,MauriceMohlek/gitlabhq,tempbottle/gitlabhq,tk23/gitlabhq,yfaizal/gitlabhq,manfer/gitlabhq,NARKOZ/gitlabhq,Razer6/gitlabhq,jrjang/gitlab-ce,achako/gitlabhq,pkallberg/tjenare,Kambda/mobbr-gitlabhq,per-garden/gitlabhq,sue445/gitlabhq,liyakun/gitlabhq,NARKOZ/gitlabhq,gopeter/gitlabhq,mavimo/gitlabhq,michaKFromParis/gitlabhqold,xuvw/gitlabhq,Datacom/gitlabhq,flashbuckets/gitlabhq,xuvw/gitlabhq,cncodog/gitlab,Exeia/gitlabhq,mrb/gitlabhq,eliasp/gitlabhq,Devin001/gitlabhq,jirutka/gitlabhq,Tyrael/gitlabhq,adaiguoguo/gitlab_globalserarch,fgbreel/gitlabhq,stellamiranda/mobbr-gitlabhq,ttasanen/gitlabhq,since2014/gitlabhq,MauriceMohlek/gitlabhq,WSDC-NITWarangal/gitlabhq,gopeter/gitlabhq,sakishum/gitlabhq,cinderblock/gitlabhq,LytayTOUCH/gitlabhq,OlegGirko/gitlab-ce,larryli/gitlabhq,bozaro/gitlabhq,yulchitaj/TEST3,NuLL3rr0r/gitlabhq,dvrylc/gitlabhq,Soullivaneuh/gitlabhq,ikappas/gitlabhq,sakishum/gitlabhq,darkrasid/gitlabhq,fendoudeqingchunhh/gitlabhq,childbamboo/gitlabhq,OtkurBiz/gitlabhq,adaiguoguo/gitlab_globalserarch,koreamic/gitlabhq,youprofit/gitlabhq,nmav/gitlabhq,Exeia/gitlabhq,cui-liqiang/gitlab-ce,kotaro-dev/gitlab-6-9,NKMR6194/gitlabhq,yuyue2013/ss,luzhongyang/gitlabhq,dreampet/gitlab,fpgentil/gitlabhq,michaKFromParis/gitlabhqold,bladealslayer/gitlabhq,zBMNForks/gitlabhq,mr-dxdy/gitlabhq,mavimo/gitlabhq,lvfeng1130/gitlabhq,it33/gitlabhq,wangcan2014/gitlabhq,Burick/gitlabhq,manfer/gitlabhq,phinfonet/mobbr-gitlabhq,fpgentil/gitlabhq,ksoichiro/gitlabhq,Soullivaneuh/gitlabhq,rebecamendez/gitlabhq,nmav/gitlabhq,kemenaran/gitlabhq,jvanbaarsen/gitlabhq,screenpages/gitlabhq,OlegGirko/gitlab-ce,ferdinandrosario/gitlabhq,WSDC-NITWarangal/gitlabhq,t-zuehlsdorff/gitlabhq,ngpestelos/gitlabhq,jrjang/gitlabhq,Keystion/gitlabhq,TheWatcher/gitlabhq,jirutka/gitlabhq,H3Chief/gitlabhq,hacsoc/gitlabhq,DanielZhangQingLong/gitlabhq,rumpelsepp/gitlabhq,NKMR6194/gitlabhq,dreampet/gitlab,mmkassem/gitlabhq,ordiychen/gitlabhq,michaKFromParis/sparkslab,8thcolor/eurucamp2014-htdsadr,tk23/gitlabhq,axilleas/gitlabhq,pkgr/gitlabhq,michaKFromParis/gitlabhq,TheWatcher/gitlabhq,gorgee/gitlabhq,koreamic/gitlabhq,pulkit21/gitlabhq,martinma4/gitlabhq,SkyWei/gitlabhq,pkgr/gitlabhq,8thcolor/rubyconfau2015-sadr,mathstuf/gitlabhq,bbodenmiller/gitlabhq,kitech/gitlabhq,duduribeiro/gitlabhq,cncodog/gitlab,szechyjs/gitlabhq,stellamiranda/mobbr-gitlabhq,sonalkr132/gitlabhq,yfaizal/gitlabhq,rebecamendez/gitlabhq,icedwater/gitlabhq,bbodenmiller/gitlabhq,stoplightio/gitlabhq,Razer6/gitlabhq,vjustov/gitlabhq,eliasp/gitlabhq,LytayTOUCH/gitlabhq,NuLL3rr0r/gitlabhq,Kambda/Mobbr,larryli/gitlabhq,larryli/gitlabhq,theonlydoo/gitlabhq,ikappas/gitlabhq,martijnvermaat/gitlabhq,OtkurBiz/gitlabhq,LUMC/gitlabhq,liyakun/gitlabhq,daiyu/gitlab-zh,rfeese/gitlab-ce,pkallberg/tjenare,ferdinandrosario/gitlabhq,cinderblock/gitlabhq,martinma4/gitlabhq,windymid/test2,johnmyqin/gitlabhq,fpgentil/gitlabhq,whluwit/gitlabhq,shinexiao/gitlabhq,williamherry/gitlabhq,jairzh/gitlabhq-sfdc,H3Chief/gitlabhq,Razer6/gitlabhq,mrb/gitlabhq,rfeese/gitlab-ce,martinma4/gitlabhq,mente/gitlabhq,since2014/gitlabhq,koreamic/gitlabhq,windymid/test2,sideci-sample/sideci-sample-gitlabhq,Kambda/Mobbr,0x20h/gitlabhq,sekcheong/gitlabhq,SVArago/gitlabhq,screenpages/gitlabhq,TheWatcher/gitlabhq,mavimo/gitlabhq,htve/GitlabForChinese,allysonbarros/gitlabhq,theodi/gitlabhq,luzhongyang/gitlabhq,htve/GitlabForChinese,yuyue2013/ss,OlegGirko/gitlab-ce,bigsurge/gitlabhq,revaret/gitlabhq,yatish27/gitlabhq,jirutka/gitlabhq,manfer/gitlabhq,ttasanen/gitlabhq,dukex/gitlabhq,Datacom/gitlabhq,lvfeng1130/gitlabhq,ArthurHoaro/Public-GitLab,bozaro/gitlabhq,per-garden/gitlabhq,stoplightio/gitlabhq,michaKFromParis/sparkslab,ngpestelos/gitlabhq,ibiart/gitlabhq,tempbottle/gitlabhq,bigsurge/gitlabhq,salipro4ever/gitlabhq,initiummedia/gitlabhq,8thcolor/eurucamp2014-htdsadr,dvrylc/gitlabhq,mr-dxdy/gitlabhq,gorgee/gitlabhq,chadyred/gitlabhq,tim-hoff/gitlabhq,whluwit/gitlabhq,youprofit/gitlabhq,daiyu/gitlab-zh,hzy001/gitlabhq,zrbsprite/gitlabhq,DanielZhangQingLong/gitlabhq,openwide-java/gitlabhq,openwide-java/gitlabhq,aaronsnyder/gitlabhq,stanhu/gitlabhq,aaronsnyder/gitlabhq,salipro4ever/gitlabhq,dwrensha/gitlabhq,dwrensha/gitlabhq,rumpelsepp/gitlabhq,koreamic/gitlabhq,pupaxxo/gitlabhq,jairzh/gitlabhq-sfdc,LytayTOUCH/gitlabhq,julianengel/gitlabhq,k4zzk/gitlabhq,pulkit21/gitlabhq,axilleas/gitlabhq,Datacom/gitlabhq,luzhongyang/gitlabhq,123Haynes/gitlabhq,iiet/iiet-git,liyakun/gitlabhq,H3Chief/gitlabhq,NKMR6194/gitlabhq,allysonbarros/gitlabhq,dwrensha/gitlabhq,mmkassem/gitlabhq,hq804116393/gitlabhq,fearenales/gitlabhq,mathstuf/gitlabhq,iiet/iiet-git,revaret/gitlabhq,mente/gitlabhq,ArthurHoaro/Public-GitLab,icedwater/gitlabhq,bbodenmiller/gitlabhq,zrbsprite/gitlabhq,copystudy/gitlabhq,gorgee/gitlabhq,Burick/gitlabhq,jrjang/gitlabhq,screenpages/gitlabhq,flashbuckets/gitlabhq,szechyjs/gitlabhq,atomaka/gitlabhq,ferdinandrosario/gitlabhq,rfeese/gitlab-ce,axilleas/gitlabhq,sakishum/gitlabhq,chenrui2014/gitlabhq,rhels/gitlabhq,openwide-java/gitlabhq,it33/gitlabhq,michaKFromParis/gitlabhq,Keystion/gitlabhq,Tyrael/gitlabhq,delkyd/gitlabhq,SkyWei/gitlabhq,cui-liqiang/gitlab-ce,fendoudeqingchunhh/gitlabhq,nguyen-tien-mulodo/gitlabhq,mavimo/gitlabhq,theodi/gitlabhq,fscherwi/gitlabhq,louahola/gitlabhq,OtkurBiz/gitlabhq,OlegGirko/gitlab-ce,dreampet/gitlab,yama07/gitlabhq,chadyred/gitlabhq,yuyue2013/ss,akumetsuv/gitlab,theonlydoo/gitlabhq,mr-dxdy/gitlabhq,k4zzk/gitlabhq,vjustov/gitlabhq,fscherwi/gitlabhq,salipro4ever/gitlabhq,allysonbarros/gitlabhq,hacsoc/gitlabhq,whluwit/gitlabhq,ibiart/gitlabhq,yama07/gitlabhq,sekcheong/gitlabhq,Telekom-PD/gitlabhq,akumetsuv/gitlab,ksoichiro/gitlabhq,windymid/test2,Exeia/gitlabhq,mathstuf/gitlabhq,phinfonet/mobbr-gitlabhq,cncodog/gitlab,nguyen-tien-mulodo/gitlabhq,Kambda/mobbr-gitlabhq,fantasywind/gitlabhq,sideci-sample/sideci-sample-gitlabhq,dplarson/gitlabhq,bigsurge/gitlabhq,jaepyoung/gitlabhq,johnmyqin/gitlabhq,jairzh/gitlabhq-sfdc,yulchitaj/TEST3,fearenales/gitlabhq,ikappas/gitlabhq,jaepyoung/gitlabhq,johnmyqin/gitlabhq,Telekom-PD/gitlabhq,wangcan2014/gitlabhq,hq804116393/gitlabhq,rebecamendez/gitlabhq,8thcolor/rubyconfau2015-sadr,pulkit21/gitlabhq,dplarson/gitlabhq,LUMC/gitlabhq,OtkurBiz/gitlabhq,goeun/myRepo,Exeia/gitlabhq,ZeoAlliance/gitlabhq,fscherwi/gitlabhq,fpgentil/gitlabhq,kitech/gitlabhq,martinma4/gitlabhq,lvfeng1130/gitlabhq,achako/gitlabhq,pjknkda/gitlabhq,vjustov/gitlabhq,folpindo/gitlabhq,bozaro/gitlabhq,NARKOZ/gitlabhq,pkallberg/tjenare,Devin001/gitlabhq,fgbreel/gitlabhq,tempbottle/gitlabhq,williamherry/gitlabhq,LUMC/gitlabhq,hacsoc/gitlabhq,fendoudeqingchunhh/gitlabhq,t-zuehlsdorff/gitlabhq,theodi/gitlabhq,tim-hoff/gitlabhq,williamherry/gitlabhq,sakishum/gitlabhq,ikappas/gitlabhq,wangcan2014/gitlabhq,childbamboo/gitlabhq,chenrui2014/gitlabhq,it33/gitlabhq,michaKFromParis/gitlabhq,stanhu/gitlabhq,mmkassem/gitlabhq,0x20h/gitlabhq,yonglehou/gitlabhq,zBMNForks/gitlabhq,dplarson/gitlabhq,gorgee/gitlabhq,ngpestelos/gitlabhq,htve/GitlabForChinese,darkrasid/gitlabhq,8thcolor/testing-public-gitlabhq,yfaizal/gitlabhq,dukex/gitlabhq,stoplightio/gitlabhq,stellamiranda/mobbr-gitlabhq,julianengel/gitlabhq,childbamboo/gitlabhq,kotaro-dev/gitlab-6-9,ordiychen/gitlabhq,daiyu/gitlab-zh,H3Chief/gitlabhq,fantasywind/gitlabhq,0x20h/gitlabhq,jirutka/gitlabhq,yonglehou/gitlabhq,openwide-java/gitlabhq,darkrasid/gitlabhq,ttasanen/gitlabhq,achako/gitlabhq,stoplightio/gitlabhq,nmav/gitlabhq,Telekom-PD/gitlabhq,revaret/gitlabhq,bigsurge/gitlabhq,hzy001/gitlabhq,allistera/gitlabhq,adaiguoguo/gitlab_globalserarch,zrbsprite/gitlabhq,johnmyqin/gitlabhq,bladealslayer/gitlabhq,sekcheong/gitlabhq,Devin001/gitlabhq,ksoichiro/gitlabhq,pjknkda/gitlabhq,rebecamendez/gitlabhq,rhels/gitlabhq,jrjang/gitlab-ce,allysonbarros/gitlabhq,hzy001/gitlabhq,ayufan/gitlabhq,sideci-sample/sideci-sample-gitlabhq,joalmeid/gitlabhq,zBMNForks/gitlabhq,mente/gitlabhq,sekcheong/gitlabhq,ngpestelos/gitlabhq,chadyred/gitlabhq,yulchitaj/TEST3,atomaka/gitlabhq,Burick/gitlabhq,jvanbaarsen/gitlabhq,tempbottle/gitlabhq,initiummedia/gitlabhq,ferdinandrosario/gitlabhq,MauriceMohlek/gitlabhq,ayufan/gitlabhq,Kambda/mobbr-gitlabhq,rhels/gitlabhq,fantasywind/gitlabhq,Tyrael/gitlabhq,pkgr/gitlabhq,Razer6/gitlabhq,mr-dxdy/gitlabhq,ordiychen/gitlabhq,yama07/gitlabhq,pupaxxo/gitlabhq,yatish27/gitlabhq,screenpages/gitlabhq,dukex/gitlabhq,theodi/gitlabhq,DanielZhangQingLong/gitlabhq,sue445/gitlabhq,jrjang/gitlabhq,hacsoc/gitlabhq,kitech/gitlabhq,shinexiao/gitlabhq,jrjang/gitlab-ce,zBMNForks/gitlabhq,adaiguoguo/gitlab_globalserarch,yatish27/gitlabhq,hzy001/gitlabhq,jrjang/gitlabhq,k4zzk/gitlabhq,cinderblock/gitlabhq,shinexiao/gitlabhq,copystudy/gitlabhq,bozaro/gitlabhq,fgbreel/gitlabhq,cui-liqiang/gitlab-ce,dplarson/gitlabhq,allistera/gitlabhq,since2014/gitlabhq,t-zuehlsdorff/gitlabhq,tk23/gitlabhq,Devin001/gitlabhq,Kambda/Mobbr,delkyd/gitlabhq,louahola/gitlabhq,allistera/gitlabhq,martijnvermaat/gitlabhq,jairzh/gitlabhq-sfdc,louahola/gitlabhq,delkyd/gitlabhq,jrjang/gitlab-ce,k4zzk/gitlabhq,sonalkr132/gitlabhq,theonlydoo/gitlabhq,kitech/gitlabhq,delkyd/gitlabhq,folpindo/gitlabhq,123Haynes/gitlabhq,kemenaran/gitlabhq,DanielZhangQingLong/gitlabhq,revaret/gitlabhq,michaKFromParis/sparkslab,nguyen-tien-mulodo/gitlabhq,dwrensha/gitlabhq,iiet/iiet-git,goeun/myRepo,tk23/gitlabhq,yatish27/gitlabhq,kemenaran/gitlabhq,shinexiao/gitlabhq,joalmeid/gitlabhq,luzhongyang/gitlabhq,ttasanen/gitlabhq,szechyjs/gitlabhq,fendoudeqingchunhh/gitlabhq,julianengel/gitlabhq,flashbuckets/gitlabhq,mrb/gitlabhq,tim-hoff/gitlabhq,sonalkr132/gitlabhq,copystudy/gitlabhq,yulchitaj/TEST3,per-garden/gitlabhq,iiet/iiet-git,folpindo/gitlabhq,NARKOZ/gitlabhq,hq804116393/gitlabhq,ayufan/gitlabhq,louahola/gitlabhq,michaKFromParis/gitlabhqold,Tyrael/gitlabhq,yfaizal/gitlabhq,ordiychen/gitlabhq,yonglehou/gitlabhq,cinderblock/gitlabhq,gopeter/gitlabhq,pulkit21/gitlabhq,joalmeid/gitlabhq,dvrylc/gitlabhq,icedwater/gitlabhq,eliasp/gitlabhq,Datacom/gitlabhq,SkyWei/gitlabhq,since2014/gitlabhq,tim-hoff/gitlabhq,jvanbaarsen/gitlabhq,fscherwi/gitlabhq,yama07/gitlabhq,allistera/gitlabhq,stanhu/gitlabhq,NKMR6194/gitlabhq,Keystion/gitlabhq,daiyu/gitlab-zh,duduribeiro/gitlabhq,larryli/gitlabhq,eliasp/gitlabhq,rumpelsepp/gitlabhq,chenrui2014/gitlabhq,chenrui2014/gitlabhq,szechyjs/gitlabhq,Telekom-PD/gitlabhq,mrb/gitlabhq,michaKFromParis/gitlabhqold,jaepyoung/gitlabhq,fantasywind/gitlabhq,yonglehou/gitlabhq,yuyue2013/ss,initiummedia/gitlabhq,123Haynes/gitlabhq,htve/GitlabForChinese,whluwit/gitlabhq,flashbuckets/gitlabhq,ZeoAlliance/gitlabhq,SkyWei/gitlabhq,akumetsuv/gitlab,folpindo/gitlabhq,SVArago/gitlabhq,martijnvermaat/gitlabhq,cui-liqiang/gitlab-ce,phinfonet/mobbr-gitlabhq,LytayTOUCH/gitlabhq,dvrylc/gitlabhq,LUMC/gitlabhq,michaKFromParis/sparkslab,TheWatcher/gitlabhq,ksoichiro/gitlabhq,fgbreel/gitlabhq,zrbsprite/gitlabhq,theonlydoo/gitlabhq