You are here

protected property Html2Text::$callbackSearch in Swift Mailer 7

List of preg* regular expression patterns to search for and replace using callback function.

@type array

File

includes/classes/Html2Text.inc, line 144

Class

Html2Text

Code

protected $callbackSearch = array(
  '/<(h)[123456]( [^>]*)?>(.*?)<\\/h[123456]>/i',
  // h1 - h6
  '/<(b)( [^>]*)?>(.*?)<\\/b>/i',
  // <b>
  '/<(strong)( [^>]*)?>(.*?)<\\/strong>/i',
  // <strong>
  '/<(th)( [^>]*)?>(.*?)<\\/th>/i',
  // <th> and </th>
  '/<(a) [^>]*href=("|\')([^"\']+)\\2([^>]*)>(.*?)<\\/a>/i',
);