All Collections
Editor Questions
Troubleshooting
Why are symbols added to the template replaced in the code editor?
Why are symbols added to the template replaced in the code editor?

This article explains why the code editor altered template symbols.

Valeriia avatar
Written by Valeriia
Updated over a week ago

Let's imagine a situation when you have added a dynamic link to a template, for example: <%/InsertIf%>, and the symbols "<" , ">" have been placed with "&lt;" and "&gt;" in the code editor:

So what is the solution to prevent it? We can offer you 2 ways:

1) Make this dynamic link as a merge tag.

  • To do this, switch the "Projects&Groups", here you can choose where you would like to add it to the Project or Group;

  • Once you have determined, please go to the "Personalization"โ†’ "Custom tags";

  • Click on the "Plus" sign and then add the new tag there;

  • After that, come back to your email, and the selected merge tags will be displayed on the text formatting panel of the "Text" basic block, just choose the needed tag;

Important to note:

Please be advised, that the merge tags symbols will still be seen as replaced in the built-in code editor. However, the exported HTML code will have the correct tag with the necessary symbols.


2) For the second solution, you can use the Display Conditions tool.

  • You will see the third "Conditions" tab on the Settings panel when selecting containers, structures, or stripes in the editor;

  • In this tab, you will have an opportunity to write a condition from scratch or select a condition from the list that you created earlier in the "Projects&Groups" settings;

  • To create a condition, switch the "Projects&Groups", here you can choose where you would like to add it to the Project or Group;

  • Go to the section "Display Conditions" and click "Create condition", then fill out the required fields there;

  • Now the condition can be selected from the list in the editor;

  • In this case, the symbols will remain the same in the HTML code.

So the last thing, all symbols won't be replaced after export to HTML and will remain the same if you add them as merge tags or conditions.

Please mail us support@stripo.email if you still have any questions.

Did this answer your question?