Two men have been arrested after police officers were taken to hospital during a second night of disorder in a market town.