fix l10n enabled check
pretty offset for html injections