diff --git a/BBCodePlus/BBCodePlus.php b/BBCodePlus/BBCodePlus.php index 8c017d8..cef28d1 100644 --- a/BBCodePlus/BBCodePlus.php +++ b/BBCodePlus/BBCodePlus.php @@ -22,7 +22,7 @@ function register() { $this->name = plugin_lang_get( 'title' ); $this->description = plugin_lang_get( 'description' ); $this->page = 'config'; - $this->version = '2.1.7'; + $this->version = '2.1.8'; $this->requires['MantisCore'] = '2.0.0'; # this plugin can coexist with MantisCoreFormatting. @@ -290,11 +290,10 @@ function add_tags() { * @return string $p_string */ function string_process_bbcode( $p_string, $p_multiline = TRUE ) { - // convert mentions and titled links to BBCode mentions (if available). + # convert mentions and titled links to BBCode mentions (if available). $p_string = preg_replace( '/(.*?)<\/a><\/span>/is', '[url=$1 mention]$2[/url]', $p_string); $p_string = preg_replace( '/([^"]*)<\/a>/is', '[url=$1]$3[/url]', $p_string); $p_string = preg_replace( '/([^"]*)<\/a>/is', '[url=$1 resolved]$3[/url]', $p_string); - echo $p_string; # strip all the auto generated URLs by MantisCoreFormatting plugin to avoid mangling. if ( ON == $this->t_MantisCoreFormatting_process_urls ) { $p_string = string_strip_hrefs( $p_string ); diff --git a/README.md b/README.md index 300fec6..6a8b62a 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,10 @@ If you would like to contribute to BBCode plus, please [read this guide first](h ## Change Log +### 2.1.8 + +- Removed leftover debug call that was breaking display. + ### 2.1.7 - Corrected outstanding bug with resolved bug links.