Fix some error when a variable is in src attribute.