A platform for community discussion. Free, open, simple.
DEV: allow admins to add html to the signup cta (#36668)
Kris0b38b2ed8907
diff --git a/frontend/discourse/app/components/signup-cta.gjs b/frontend/discourse/app/components/signup-cta.gjsindex 7aa5bda8671..b3e2443fe8f 100644--- a/frontend/discourse/app/components/signup-cta.gjs+++ b/frontend/discourse/app/components/signup-cta.gjs@@ -1,6 +1,7 @@/* eslint-disable ember/no-classic-components */import Component from "@ember/component";import { action } from "@ember/object";+import { htmlSafe } from "@ember/template";import { on } from "@ember-decorators/object";import DButton from "discourse/components/d-button";import replaceEmoji from "discourse/helpers/replace-emoji";@@ -34,8 +35,8 @@ export default class SignupCta extends Component {{{#if this.session.hideSignupCta}}<h3>{{i18n "signup_cta.hidden_for_session"}}</h3>{{else}}- <h3>{{replaceEmoji (i18n "signup_cta.intro")}}</h3>- <p>{{replaceEmoji (i18n "signup_cta.value_prop")}}</p>+ <h3>{{replaceEmoji (htmlSafe (i18n "signup_cta.intro"))}}</h3>+ <p>{{replaceEmoji (htmlSafe (i18n "signup_cta.value_prop"))}}</p><div class="buttons"><DButton