Skip to content

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

DEV: Add `td` to the `element` helper list (#27106)

Jarek Radosz5678332ffb76
diff --git a/app/assets/javascripts/discourse/app/helpers/element.gjs b/app/assets/javascripts/discourse/app/helpers/element.gjs
index af6142db0df..2a611b85013 100644
--- a/app/assets/javascripts/discourse/app/helpers/element.gjs
+++ b/app/assets/javascripts/discourse/app/helpers/element.gjs
@@ -9,6 +9,7 @@ const shortcuts = {
form: <template><form ...attributes>{{yield}}</form></template>,
a: <template><a ...attributes>{{yield}}</a></template>,
button: <template><button ...attributes>{{yield}}</button></template>,
+ td: <template><td ...attributes>{{yield}}</td></template>,
};
/**