Skip to content

A platform for community discussion. Free, open, simple.

DEV: remove redundant data attr when cooking posts (#35650)

David Battersby21e5ded097b1
diff --git a/lib/cooked_processor_mixin.rb b/lib/cooked_processor_mixin.rb
index 45ebeea7e50..cb30d0092e8 100644
--- a/lib/cooked_processor_mixin.rb
+++ b/lib/cooked_processor_mixin.rb
@@ -580,7 +580,6 @@ module CookedProcessorMixin
a = create_link_node("lightbox", src)
img.add_next_sibling(a)
- a["data-cropped"] = "true" if crop
a["data-download-href"] = Discourse.store.download_url(upload) if upload
a.add_child(img)