Fix asset-url("/path", true)

Same as PR #1724, but rebased with respect to the latest stable.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.