Issue #2570715 by SpaghettiBolognese, awochna: Wrong behaviour if alt or title attribute contains colon