Support extra html attributes on css replacement

Allow extra html attributes on css include replacement, the same way as it currently works for javascript includes.