Don't use single quotes around trans tag outside html attributes

Fixes #3980 (Case 116917)