fixing regex for html plugin