diff options
| -rw-r--r-- | plugins/format.bbcode.php | 5 | ||||
| -rw-r--r-- | plugins/format.markdown.php | 5 | ||||
| -rw-r--r-- | plugins/format.pearwiki_general.php | 3 |
3 files changed, 8 insertions, 5 deletions
diff --git a/plugins/format.bbcode.php b/plugins/format.bbcode.php index 05b6dfd..ba37155 100644 --- a/plugins/format.bbcode.php +++ b/plugins/format.bbcode.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.7 $ + * @version $Revision: 1.8 $ * @package liberty * @subpackage plugins_format */ @@ -28,7 +28,8 @@ $pluginParams = array ( 'edit_label' => 'BBCode', 'edit_field' => PLUGIN_GUID_BBCODE, 'help_page' => 'BBCodeSyntax', - 'plugin_type' => FORMAT_PLUGIN + 'plugin_type' => FORMAT_PLUGIN, + 'linebreak' => "\r\n" ); $gLibertySystem->registerPlugin( PLUGIN_GUID_BBCODE, $pluginParams ); diff --git a/plugins/format.markdown.php b/plugins/format.markdown.php index 15efce1..3de441f 100644 --- a/plugins/format.markdown.php +++ b/plugins/format.markdown.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.9 $ + * @version $Revision: 1.10 $ * @package liberty * @subpackage plugins_format */ @@ -24,7 +24,8 @@ $pluginParams = array ( 'description' => 'This parser allows you to use plain text, which is then converted to HTML. For the full syntax, please view <a href="http://daringfireball.net/projects/markdown/syntax">Markdown Syntax</a>', 'edit_label' => 'Markdown', 'edit_field' => PLUGIN_GUID_MARKDOWN, - 'plugin_type' => FORMAT_PLUGIN + 'plugin_type' => FORMAT_PLUGIN, + 'linebreak' => "\r\n" ); $gLibertySystem->registerPlugin( PLUGIN_GUID_MARKDOWN, $pluginParams ); diff --git a/plugins/format.pearwiki_general.php b/plugins/format.pearwiki_general.php index 7f11dea..92437d2 100644 --- a/plugins/format.pearwiki_general.php +++ b/plugins/format.pearwiki_general.php @@ -14,7 +14,8 @@ if( @include_once('PEAR/Registry.php') && @include_once( 'Text/Wiki.php' ) ) { $genPluginParams = array ( 'store_function' => 'pearwiki_general_save_data', 'verify_function' => 'pearwiki_general_verify_data', - 'plugin_type' => FORMAT_PLUGIN + 'plugin_type' => FORMAT_PLUGIN, + 'linebreak' => "\r\n" ); $reg = new PEAR_Registry; |
