Fix regex
Add new tests for html and multiple assets in one line