A platform for community discussion. Free, open, simple.
UX: replace broken link SVG with new Font Awesome 6 name (#29623)
Krisf24c274867dc
diff --git a/lib/cooked_processor_mixin.rb b/lib/cooked_processor_mixin.rbindex b31d27b6c9f..acde19cec14 100644--- a/lib/cooked_processor_mixin.rb+++ b/lib/cooked_processor_mixin.rb@@ -260,7 +260,7 @@ module CookedProcessorMixinimg.name = "span"img.set_attribute("class", "broken-image")img.set_attribute("title", I18n.t("post.image_placeholder.broken"))- img << "<svg class=\"fa d-icon d-icon-unlink svg-icon\" aria-hidden=\"true\"><use href=\"#unlink\"></use></svg>"+ img << "<svg class=\"fa d-icon d-icon-link-slash svg-icon\" aria-hidden=\"true\"><use href=\"#link-slash\"></use></svg>"img.remove_attribute("src")img.remove_attribute("width")img.remove_attribute("height")