Stripping the HTML from Private Message eMail Notifications
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Feedback
- :
- Community Site Feedback
- :
- Re: Stripping the HTML from Private Message eMail ...
Stripping the HTML from Private Message eMail Notifications
19-12-2017 2:54 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I’m sure I have asked this before, but search cannot find anything using the obvious criterion. So to ask again, is it possible to have the HTML stripped from a private message when it is sent as an email please. I use a plain text email client so the HTML tags make it quite awkward to read.
I have searched the settings but I can’t find anything relating to this either that it is so obvious I can't see it.
Re: Stripping the HTML from Private Message eMail Notifications
19-12-2017 3:16 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
There might be something that can be done as I can edit the templates and access the variables seperately for HTML and TEXT versions. Again, its all done via freemarker syntax so there could be a switch somewhere...
Let me add this to my Community bug list to have it sized by the team and looked into. I have posted on the Lithium dev network about it too as the variable for the body text in the TEXT version was set as the same as the HTML version with no other alternative.
Frontend Web Developer | www.plus.net
If you have an idea to improve the community, create a new topic on our Community Feedback board to start a discussion about your idea.
Re: Stripping the HTML from Private Message eMail Notifications
19-12-2017 3:44 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi Jack,
If there is an opportunity to improve the appearance of sent PMs, could you please consider tweaking the CSS for viewing sent PMs ... by removing the following CSS rule?
.lia-message-body-content p, .lia-message-body p, .lia-message-editor p, .lia-note-body p { margin-bottom: 0px; }
This will give space between paragraphs.
Also in the area of formatting PMs, when replying to a PM the HTML is completely removed from the "Reply to" view of the original PM within ...
<div class="lia-note-body lia-component-body-search-blurb"> Good Morning, Long time since we had a chat. I want to get a process implemented ... and value your input. ............ Im suggesting that we offer a .......... this needs discussion with the other SU's ..... </div>
Consequently the original text is rendered as a single solid block. Odd enough, if quoted into the edit widow it acquires HTML formatting ... which I guess is performed by tinyMEC?
Thanks.
In another browser tab, login into the Plusnet user portal BEFORE clicking the fault & ticket links
Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.
If this post helped, please click the Thumbs Up and if it fixed your issue, please click the This fixed my problem green button below.
Re: Stripping the HTML from Private Message eMail Notifications
19-12-2017 3:45 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks @jaread83, as always your time and effort is appreciated.
Re: Stripping the HTML from Private Message eMail Notifications
19-12-2017 4:35 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
A friend and colleague that develops another Lithium forum has provided me with a velocity regex pattern that should remove the HTML tags and leave just the text.
I will look into the changing of the CSS of the sent items too but I am not sure there is anything I can do about the second point you raised.
Frontend Web Developer | www.plus.net
If you have an idea to improve the community, create a new topic on our Community Feedback board to start a discussion about your idea.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Feedback
- :
- Community Site Feedback
- :
- Re: Stripping the HTML from Private Message eMail ...