Home › Forums › Ticket Products › Event Tickets Plus › HTML tags show in ticket confirmation
- This topic has 13 replies, 2 voices, and was last updated 11 years ago by Barry.
-
AuthorPosts
-
March 19, 2013 at 7:36 am #43252marliesParticipant
Hi there!
My event has a title with HTML tags in it (for 4th, using superscript for ‘th’). In WordPress all is fine, and the superscript shows without the HTML tags. However, in the email confirmation a customer gets it will show the HTML tags: it will show like this: 4th …rest of the title. (of course without the spaces in the tag, but I’m not sure if I can paste that code without turning it into a superscript)
Anyway, I’d like to know how I can strip these tags out of the email content, so it will just show 4th. Any ideas?
Thanks so much! Your help is appreciated very much.Best,
MarliesMarch 19, 2013 at 7:37 am #43253marliesParticipantHmm, HTML got stripped out of the email above, let’s try again: so it shows like this in the email content: <sub>
March 19, 2013 at 7:41 am #43255marliesParticipantI’m sorry, I hit enter too quickly: it shows like this:
4<sup/>th</sup<
March 19, 2013 at 7:43 am #43257marliesParticipantSorry: this is how it looks in the email confirmation content
4<sup>th</sup>(sorry for all the message! you should introduce something like preview post here ;))
March 19, 2013 at 8:19 am #43258BarryMemberWell, this is an area where WooTickets is really piggy-backing on WooCommerce (which is actually responsible for sending out order confirmation emails, receipts etc).
I’m guessing WooCommerce uses wp_mail() to send emails – if so, you could investigate using the wp_mail filter and process the message that way.
March 19, 2013 at 8:50 am #43267marliesParticipantWell, I’m actually thinking it might be caused by TEC, because I had the same problem with the title that was showing up in the browser. If I used a superscript in the title on an event, it would show the HTML tag in the browser title bar. However if I used a superscript in the title of any other page or post, it would display just fine in the browser… so it really was an event thing.
I fixed that part by using YOAST Seo, so the title gets overwritten, but now the error does creep back into life in the email content… could you help out in any way? Any work-around?March 19, 2013 at 9:01 am #43270BarryMemberYou know, I think you might be right. Please bear with me while I talk to the team about this.
March 19, 2013 at 9:10 am #43273marliesParticipantThanks Barry! Hope we can find a solution 🙂 Please let me know when you know more.
March 20, 2013 at 1:15 am #43366marliesParticipantJust checked and I am now sure that it is not the email form of WooCOmmerce that gives the problem. The tags I was talking about are not in the actual email, they only show up in the ticket PDF, in the big header of the ticket image, if you know what I mean.
March 20, 2013 at 6:28 am #43383BarryMemberOK – I’ve asked a dev to look at this and will pass that clarification on to him – and will he or I will update you as soon as we can 🙂
March 21, 2013 at 7:06 am #43571marliesParticipantGreat! I hope you can solve it 🙂 Thanks!
March 21, 2013 at 8:48 am #43586BarryMemberUs too! As soon as I can provide a substantive response I’ll get back to you.
March 28, 2013 at 9:49 am #44277BarryMemberSo this will be fixed in 3.0, and in the interim what I’d recommend is avoiding the use of tags within titles just to keep things ticking over until that next release.
Does that work for you?
April 11, 2013 at 7:44 pm #45619BarryMemberHi marlies, I’m going to close this ticket now since it’s been a while since we heard from you but if there are any further issues please let us know 🙂
-
AuthorPosts
- The topic ‘HTML tags show in ticket confirmation’ is closed to new replies.