protected property Html2Text::$replace in Swift Mailer 7
List of pattern replacements corresponding to patterns searched.
@type array
See also
$search
File
- includes/
classes/ Html2Text.inc, line 86
Class
Code
protected $replace = array(
'',
// Non-legal carriage return
' ',
// Newlines and tabs
'',
// <head>
'',
// <script>s -- which strip_tags supposedly has problems with
'',
// <style>s -- which strip_tags supposedly has problems with
"\n\n",
// <P>
"\n",
// <br>
'_\\1_',
// <i>
'_\\1_',
// <em>
"\n\n",
// <ul> and </ul>
"\n\n",
// <ol> and </ol>
"\n\n",
// <dl> and </dl>
"\t* \\1\n",
// <li> and </li>
" \\1\n",
// <dd> and </dd>
"\t* \\1",
// <dt> and </dt>
"\n\t* ",
// <li>
"\n-------------------------\n",
// <hr>
"<div>\n",
// <div>
"\n\n",
// <table> and </table>
"\n",
// <tr> and </tr>
"\t\t\\1\n",
// <td> and </td>
"",
);