equal
deleted
inserted
replaced
142 $text = str_replace(Carpenter::generate_token($i), '<p>' . nl2br($piece) . '</p>', $text); |
142 $text = str_replace(Carpenter::generate_token($i), '<p>' . nl2br($piece) . '</p>', $text); |
143 } |
143 } |
144 |
144 |
145 return $text; |
145 return $text; |
146 } |
146 } |
|
147 |
|
148 public function mailtonotext($pieces) |
|
149 { |
|
150 $pieces[2] = $pieces[1]; |
|
151 return $this->mailtowithtext($pieces); |
|
152 } |
|
153 |
|
154 public function mailtowithtext($pieces) |
|
155 { |
|
156 global $email; |
|
157 return $email->encryptEmail($pieces[1], '', '', $pieces[2]); |
|
158 } |
147 } |
159 } |
148 |
160 |
149 // Alias internal link parsing to RenderMan's method |
161 // Alias internal link parsing to RenderMan's method |
150 function parser_mediawiki_xhtml_internallink($text) |
162 function parser_mediawiki_xhtml_internallink($text) |
151 { |
163 { |