Pages: 1
RSS
Undesirable character
 
Hello,

TB v.4.1.5

I have a HTML template with this line:

%IF:"%ATTACHMENTS"="<none>":None:%ATTACHMENTS

In a message with this template, I see

Nonep>

Why this p>?

In advance, thanks for your reply.
 
I have tried these macros in folder HTML template using Microed and HTML editor in 4.1.7 and output is "None" allways
 
Account > Properties > Templates > New message

1. Format > Plain text
%IF:"%ATTACHMENTS"="<none>":None:%ATTACHMENTS

I see None in the editor (new message).

2. Format > HTML
%IF:"%ATTACHMENTS"="<none>":None:%ATTACHMENTS

I see Nonep> in the editor (new message)

---

Format > Preview

I see: Message.html, image_glowing_tree1.jpg, SANTA_~12.GIF, snowman_fr.gif
Edited: Sacles - 25 December 2008 18:35:54
 
It could be a matter of a syntax error, the proper syntax should be:

%IF:"%ATTACHMENTS"="<none>":"None":"%ATTACHMENTS"
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
 
Thanks for your reply but it is the same thing. I see always:
Nonep>
 
I have the solution!

Simply insert a space at the end of %IF:"%ATTACHMENTS"="<none>":"None":"%ATTACHMENTS"
Pages: 1