Rich Text Token - Why does more than one html element trigger html in output?
Hello again Marketo!
Here comes yet another marketo-mystery I was hoping someone could help me solve.
I have a piece of content in an email that is populated via a rich text token:
The email markup:
<div class="mktoText" id="..." style="...">
{{my.CON TokenName}}
</div>
The rich text tokens value - a single paragraph:
<p>foo</p>
The output in email - without html-tags:
<div class="mktoText" id="..." style="...">
foo
</div>
The Mystery
Now, when I add another paragraph to the rich text token:
<p>foo</p>
<p>bar</p>
The output is different - the html-tags are all of a sudden visible in the output (!?):
<div class="mktoText" id="..." style="...">
<p>foo</p>
<p>bar</p>
</div>
So, the mystery is:
Why does more than one html element trigger html in output?
Sub-question:
Why isn't the p-tags outputted in the first case?
Any help would be much appreciated! 🙂
Best,
ernie