Okay
  Public Ticket #2413040
Email notifications have excess line-breaks
Closed

Comments

  • Tim started the conversation

    Notification emails from WP Amelia all have linebreaks wrapped in a <p> element in the emails. Even shift-enters turn into paragraphs with line breaks. Could we have the option in the WYSIWYG editor to change the html source of the emails? Or at least don't have extra linebreaks wrapped in <p> elements

  • [deleted] replied

    Hello Tim, 

    Apologies for replying late, we are not working on weekends. 

    In order to remove the spacing between paragraphs, you can edit this in your database from recently. Please open your database, find and open the wp_options table and find the option name amelia_settings there. You need to edit it. You will see a setting notifications in it. You need to set the value <div style='height: 0.1rem'><\/div> for the '' breakReplacement'' parameter . Like here : 

    notifications": {    "breakReplacement": "<div style="height: 0.1rem"><\/div>"
    }
    
    5449010360.png

    If you have any further questions feel free to ask.