If I create a plaintext mail it gets incapsulated into html and then converted back to plain text. On the second conversion, there is an asterisk inserted before and after the text.

Comments

richardb’s picture

Hi,
In mimemail.inc find the _mimemail_define_search function, and delete the lines:
'!]*>!i', // and
'!]*>!i', // and
and in the function _mimemail_define_replace delete the two lines:
'*', // and
'/', // and

That got rid of that for me, and there's no need to format the ems and strongs in plaintext anyway, IMO.

richardb’s picture

sorry, forgot code tags, lets try again:
In mimemail.inc find the _mimemail_define_search function, and delete the lines:

        '!</?(b|strong)[^>]*>!i',                     // <b> and <strong>
        '!</?(em|i)[^>]*>!i',                         // <em> and <i>

and in the function _mimemail_define_replace delete the two lines:

        '*',                                                              // <b> and <strong>
        '/',                                                              // <em> and <i>

That got rid of that for me, and there's no need to format the ems and strongs in plaintext anyway, IMO.

allie micka’s picture

Status: Active » Closed (fixed)

fixed.