diff --git a/build/patches/00Remove-dangling-attributes-in-some-html-elements.patch b/build/patches/00Remove-dangling-attributes-in-some-html-elements.patch index 9edebc1e..5af755b9 100644 --- a/build/patches/00Remove-dangling-attributes-in-some-html-elements.patch +++ b/build/patches/00Remove-dangling-attributes-in-some-html-elements.patch @@ -28,7 +28,7 @@ diff --git a/third_party/blink/renderer/core/dom/element.cc b/third_party/blink/ + for (auto& attribute : attribute_vector) { + auto value = attribute.Value(); + if (value.Contains('\n') || value.Contains('<')) { -+ attribute.SetValue(g_null_atom); ++ attribute.SetValue(g_empty_atom); + } + } +}