Re: HTML support in Mailing-list based Forum
Posted by
MichaelAtOz on
Jan 28, 2021; 4:38am
URL: https://support.nabble.com/HTML-support-in-Mailing-list-based-Forum-tp7608192p7608193.html
I do note that the right format is (should be*) available.
page_node.message.as_raw returns the full email, headers & MIME parts.
e.g.
...
List-Archive: <http://www.freelists.org/archives/michaelatoz>
X-list: michaelatoz
------=_Part_1162760_1466795640.1611803166276
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
*bold*
/italics/
link <http://wikipedia.com>
image: <http://michaelatoz-test.1112830.n5.nabble.com/file/t1/IMAG1793.jpg>
...
--
Sent from: http://michaelatoz-test.1112830.n5.nabble.com/
------=_Part_1162760_1466795640.1611803166276
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<b>bold</b><br/><i>italics</i><br/><a href="http://wikipedia.com" target="_top" rel="nofollow" link="external">link</a><br/>image:<img src="http://michaelatoz-test.1112830.n5.nabble.com/file/t1/IMAG1793.jpg" border="0"/><br/>
<br/><hr align="left" width="300" />
Sent from the <a href="http://michaelatoz-test.1112830.n5.nabble.com/">MichaelAtOz_test mailing list archive</a> at Nabble.com.<br/>
------=_Part_1162760_1466795640.1611803166276--
* 'should be' email received from a email-client (as opposed to Forum generated email), may
only have
text/plain, so if
text/html is not found it would be correct to return *bold* type format, ie from
text/plain.