Editable text doesn't return html tag from macro inside default text field

Andrew Huchko asked on November 22, 2016 19:17

Hi, I'm trying return some default text from macro {% System.GetSomeHTML( CurrentSite.ID )#%}

Macro returns html anchor tag with text inside

It gives me only text....

What is wrong?

Maybe there is some setting or property which allow return html?

When I insert this macro into content before/after it returns html.

Image Text

Recent Answers


Laura Frese answered on November 22, 2016 20:12

Is this a custom macro method? Can you post your code if so? ANd did you test/debug the macro? You can run the macro in System > Macros > Console. Mcbeev has a great blog post on debugging macros

0 votesVote for this answer Mark as a Correct answer

Peter Mogilnitski answered on November 22, 2016 21:11

When you switch from "Design" to "Page" Tab - the Editable Text doesn't resolve macros, but if browse your document live - (go to General Tab > Live URL and click) - your macro will be resolved.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.