Support

Home Forums Event Espresso Premium how to remove line breaks between question & answer in message template

how to remove line breaks between question & answer in message template

Posted: May 25, 2017 at 8:18 am

Viewing 1 reply thread


Annie Ngo

May 25, 2017 at 8:18 am

Hi,

This is how the default template displays the question/answer part of the Event Admin Registration Approved message:

Questions & Answers<br>
Question:
<br>
What is your favorite planet?<br><br>
Answer: Tattoine<br>
Question: <br>
What is your favorite food?<br><br>
Answer: Fish Fingers<br>
Question:<br>
How many lightyears have you travelled<br><br>
Answer: A lot

I would like to have each answer on the same line as its question like this:<br>
What is your favorite planet? Tattoine<br>
What is your favorite food? Fish Fingers<br>
How many lightyears have you travelled A lot<br>

I read another forum topic that suggested using ul & li, so I tried this in the [QUESTION_LIST] section of a custom message template, but still there is a line break after the question:

  • [QUESTION] [ANSWER]

Can you help? I have EE 4.9.38.p

Thanks!


Seth Shoultes

  • Support Staff

May 26, 2017 at 10:36 am

Hi Annie,

Are you seeing these line breaks in your email client? Can you please double there are now spaces or line breaks in the message editor? Here’s how mine looks: https://www.screencast.com/t/yI9T3blVa7

Here’s the output in my email client (Gmail web page): https://www.screencast.com/t/6SMKDWkQ

You might also try deactivating all other plugins, then test again to see if anything changes. If so, you might have another plugin overriding the message output.

Please let us know if one of these solutions helps.

Viewing 1 reply thread

The support post ‘how to remove line breaks between question & answer in message template’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso