Hello, I have 2 questions.
1 - How would one handle an apostrophe in a template?
For example here is the code:
<$description default='<p>You're receiving this newsletter because you bought widgets from us.</p>'$>
I can't use the apostrophe in "you're" because it messes up the code and thinks it's ending the default tag. Do I use html entities instead?
2 - Also can you put an image in a default tag? For example:
<img src="<$imagesrc link='false' default='header.gif'$>" width="550" height="77" alt="Company Name">
I want the client to have a default image in their template that they can replace themselves (instead of the blank white space that says "replace")
how about using HTML enitities? & #39; or more correct in this case; & rsquo;
(remove the spaces after &)
Okay, I see..
Without having checked the first one, here's to more suggestions:
1) Use " instead of ' (<$description default="<p>You’re receiving this newsletter </p>"$>)
2) Use You are instead of You're :)
Thanks Stig! Using the " instead of ' worked! Now hopefully someone can help me with question #2... :)
Sorry, I missed the other question. I'm quite sure you can't set a default image.