Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macro's body gets htmlEscaped when inserted from the Macro dialog into RichText editor #7841

Open
alansemenov opened this issue Sep 12, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@alansemenov
Copy link
Member

alansemenov commented Sep 12, 2024

See also #7840

To reproduce:

  1. Install Intro app from the Market
  2. Open the project in Content Studio
  3. Open any content of type Person for editing
  4. Set cursor inside the "Bio" field and open the Insert Macro dialog
  5. Select "Fact box" macro from the list
  6. Insert any HTML into the Text field, for example a list
image
  1. Click the "Insert" button

Bug: Html from the Macro's body got HtmlEscaped and is displayed with html tags inside the "host" editor. It should've been inserted as it was in the Macro's editor. There should also be a linebreak after the opening macro's placeholder:

[macro]
<macro's html here>
[/macro]
image
@alansemenov alansemenov added the Bug Something isn't working label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant