Submitting finished htmlbroom code

See: https://github.com/GigaOM/gigaom/issues/4979
use `foreach` instead, then you won't need this line:
`$limit = count( $matches[0] );`