equal
deleted
inserted
replaced
203 eval($cmd); |
203 eval($cmd); |
204 } |
204 } |
205 |
205 |
206 // Strip out embedded PHP |
206 // Strip out embedded PHP |
207 self::php_strip($text, $php_stripped); |
207 self::php_strip($text, $php_stripped); |
|
208 |
|
209 // Convert newlines for the parser |
|
210 $text = str_replace("\r\n", "\n", $text); |
208 |
211 |
209 // Perform render through the engine |
212 // Perform render through the engine |
210 $carpenter = new Carpenter(); |
213 $carpenter = new Carpenter(); |
211 $carpenter->flags = $flags; |
214 $carpenter->flags = $flags; |
212 $carpenter->hook(array(__CLASS__, 'hook_pre'), PO_AFTER, 'lang'); |
215 $carpenter->hook(array(__CLASS__, 'hook_pre'), PO_AFTER, 'lang'); |