|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
bregidor Smarty n00b
Joined: 16 Mar 2012 Posts: 2
|
Posted: Sat Mar 17, 2012 1:37 am Post subject: "!" character shows in the template |
|
|
Hi to All,
A "!" character seems to show up randomly in our template:
Example:
To view this message, click on this <a style="color: #3b5998;" href="{$sConfigUrl}inbox.html?id={$oMessage->messageId}&user={$oMessage->addresseeHash|base64_encode}">link</a>:
But what is displayed when rendered is this.
To view this message, click on this ! link:
As you to notice there is an exclamation before the word link.
Another example is this:
this simple code <td bgcolor="#FFFFFF" becomes <td bgcolor="#F! FFFFF" when rendered
Can anyone have an idea on how or why this happens?
Thanks in advance.. |
|
Back to top |
|
douglassdavis Smarty Junkie
Joined: 21 Jan 2008 Posts: 541
|
Posted: Sat Mar 17, 2012 2:23 am Post subject: Re: "!" character shows in the template |
|
|
bregidor wrote: | Hi to All,
A "!" character seems to show up randomly in our template:
Example:
To view this message, click on this <a style="color: #3b5998;" href="{$sConfigUrl}inbox.html?id={$oMessage->messageId}&user={$oMessage->addresseeHash|base64_encode}">link</a>:
But what is displayed when rendered is this.
To view this message, click on this ! link:
As you to notice there is an exclamation before the word link.
Another example is this:
this simple code <td bgcolor="#FFFFFF" becomes <td bgcolor="#F! FFFFF" when rendered
Can anyone have an idea on how or why this happens?
Thanks in advance.. |
Is this inside of an email by any chance? Showing up at the end of a long line? Email servers will sometimes add "! " to break up long lines. |
|
Back to top |
|
bregidor Smarty n00b
Joined: 16 Mar 2012 Posts: 2
|
Posted: Sun Mar 18, 2012 7:09 pm Post subject: |
|
|
Yes, the following are email template rendered by smarty that will be send to our user..
Another thing is that it is only happening on our live site, in our developing site everything is working fine.
How can I prevent this from happening? Is anything I should do to our email servers so this issue will not happen again?
Thanks.. |
|
Back to top |
|
douglassdavis Smarty Junkie
Joined: 21 Jan 2008 Posts: 541
|
Posted: Mon Mar 19, 2012 1:00 am Post subject: |
|
|
bregidor wrote: | Yes, the following are email template rendered by smarty that will be send to our user..
Another thing is that it is only happening on our live site, in our developing site everything is working fine.
How can I prevent this from happening? Is anything I should do to our email servers so this issue will not happen again?
Thanks.. |
Make the lines less than 998 chars long.
Otherwise, I don't know much about email servers but I googled "exclamation mark email long line" to get more info. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|