Added a regexp in order to avoid stripped white spaces on html attributes.