Improve parsing of counter/counters CSS content functions (#705)
Improve parsing of counter/counters CSS content functions (#705)

Instead of exploding the string based on the argument delimeter (,)
parse the string using a regex that pulls the arguments into a
"matches" array ($args). This allows for the presence of a comma
in the joining string argument of the counters() function.

The output from the counters() function was also updated. First
the joining string is now only used between the counter instances
where previously it was also appended to the end of the output.
Second, elements that reset the counter but do not actually
increment it are skipped. This matches the output generated by
standards-compliant browsers.

lucas-issa/dompdf,marijnvdwerf/dompdf,rdpascua/dompdf,ecomstyle/dompdf,Shnoulle/dompdf,BrunoDeBarros/dompdf,Magoja/dompdf,Soullivaneuh/dompdf,dannizhang/dompdf,BrandoCommando/dompdf,mubassirhayat/dompdf,sunkanmi-akintoye/dompdf,rdpascua/dompdf,eluhr/dompdf,eluhr/dompdf,dannizhang/dompdf,ecomstyle/dompdf,VictoriaLa/dompdf,sunfun/dompdf,VictoriaLa/dompdf,IvoPereira/dompdf,BrunoDeBarros/dompdf,ecomstyle/dompdf,bcremer/dompdf,koenpunt/dompdf,Magoja/dompdf,spanichev/dompdf,theodorDiaconu/dompdf,itzmukeshy7/dompdf,BrandoCommando/dompdf,12hys/dompdf,itzmukeshy7/dompdf,itzmukeshy7/dompdf,VictoriaLa/dompdf,marciomrs4/dompdf,dompdf/dompdf,craigfrancis/dompdf,edge-soft/dompdf,Soullivaneuh/dompdf,sunkanmi-akintoye/dompdf,lucas-issa/dompdf,marciomrs4/dompdf,chielsen/dompdf,dannizhang/dompdf,IvoPereira/dompdf,marijnvdwerf/dompdf,Magoja/dompdf,chielsen/dompdf,sunfun/dompdf,spanichev/dompdf,scotteh/dompdf,theodorDiaconu/dompdf,koenpunt/dompdf,bcremer/dompdf,mubassirhayat/dompdf,lordgnu/dompdf,mubassirhayat/dompdf,craigfrancis/dompdf,12hys/dompdf,theodorDiaconu/dompdf,nathanntg/dompdf,craigfrancis/dompdf,sunkanmi-akintoye/dompdf,sunfun/dompdf,marciomrs4/dompdf,eluhr/dompdf,Shnoulle/dompdf,koenpunt/dompdf,nathanntg/dompdf,BrandoCommando/dompdf,lordgnu/dompdf,rdpascua/dompdf,dompdf/dompdf,spanichev/dompdf,IvoPereira/dompdf,Shnoulle/dompdf,edge-soft/dompdf,lucas-issa/dompdf,chielsen/dompdf,scotteh/dompdf,bcremer/dompdf,marijnvdwerf/dompdf,Soullivaneuh/dompdf