| 1 | <?php |
| 2 | /* vim: set expandtab tabstop=4 shiftwidth=4: */ |
| 3 | // +----------------------------------------------------------------------+ |
| 4 | // | PHP version 4 | |
| 5 | // +----------------------------------------------------------------------+ |
| 6 | // | Copyright (c) 1997-2003 The PHP Group | |
| 7 | // +----------------------------------------------------------------------+ |
| 8 | // | This source file is subject to version 2.0 of the PHP license, | |
| 9 | // | that is bundled with this package in the file LICENSE, and is | |
| 10 | // | available through the world-wide-web at | |
| 11 | // | http://www.php.net/license/2_02.txt. | |
| 12 | // | If you did not receive a copy of the PHP license and are unable to | |
| 13 | // | obtain it through the world-wide-web, please send a note to | |
| 14 | // | license@php.net so we can mail you a copy immediately. | |
| 15 | // +----------------------------------------------------------------------+ |
| 16 | // | Authors: Jeremy Cowgar <jeremy@cowgar.com> | |
| 17 | // +----------------------------------------------------------------------+ |
| 18 | // |
| 19 | // $Id: Prefilter.php,v 1.2 2004/09/25 19:05:13 pmjones Exp $ |
| 20 | |
| 21 | |
| 22 | /** |
| 23 | * |
| 24 | * This class implements a Text_Wiki_Render_Latex to "pre-filter" source text so |
| 25 | * that line endings are consistently \n, lines ending in a backslash \ |
| 26 | * are concatenated with the next line, and tabs are converted to spaces. |
| 27 | * |
| 28 | * @author Jeremy Cowgar <jeremy@cowgar.com> |
| 29 | * |
| 30 | * @package Text_Wiki |
| 31 | * |
| 32 | */ |
| 33 | |
| 34 | class Text_Wiki_Render_Latex_Prefilter extends Text_Wiki_Render { |
| 35 | function token() |
| 36 | { |
| 37 | return ''; |
| 38 | } |
| 39 | } |
| 40 | ?> |