(bug 44761) Fix sanitization for alt text

Change-Id: I3638ab8c471b80f06a55f81cad3e346238a1b6d6