| @@ 827-834 (lines=8) @@ | ||
| 824 | # raw source |
|
| 825 | # |
|
| 826 | ||
| 827 | function doSourceRaw($text) |
|
| 828 | { |
|
| 829 | $text = \ICanBoogie\escape($text); |
|
| 830 | $text = str_replace("\t", self::NBSP_TAB, $text); |
|
| 831 | $text = str_replace(" ", self::NBSP, $text); |
|
| 832 | ||
| 833 | return $text; |
|
| 834 | } |
|
| 835 | ||
| 836 | # |
|
| 837 | # HTML source highlighter |
|
| @@ 1202-1209 (lines=8) @@ | ||
| 1199 | ||
| 1200 | ||
| 1201 | ||
| 1202 | function _do_codeentities($text) |
|
| 1203 | { |
|
| 1204 | $text = \ICanBoogie\escape($text); |
|
| 1205 | $text = str_replace("\t", self::NBSP_TAB, $text); |
|
| 1206 | $text = str_replace(" ", self::NBSP, $text); |
|
| 1207 | ||
| 1208 | return $text; |
|
| 1209 | } |
|
| 1210 | /* |
|
| 1211 | function _do_php_string($matches) |
|
| 1212 | { |
|