Skip to content

Commit 1c581ae

Browse files
authored
Merge pull request #75 from bkraul/develop
Removed leftover debug cal that was breaking display
2 parents 8980db2 + b7baf53 commit 1c581ae

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

BBCodePlus/BBCodePlus.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function register() {
2222
$this->name = plugin_lang_get( 'title' );
2323
$this->description = plugin_lang_get( 'description' );
2424
$this->page = 'config';
25-
$this->version = '2.1.7';
25+
$this->version = '2.1.8';
2626

2727
$this->requires['MantisCore'] = '2.0.0';
2828
# this plugin can coexist with MantisCoreFormatting.
@@ -290,11 +290,10 @@ function add_tags() {
290290
* @return string $p_string
291291
*/
292292
function string_process_bbcode( $p_string, $p_multiline = TRUE ) {
293-
// convert mentions and titled links to BBCode mentions (if available).
293+
# convert mentions and titled links to BBCode mentions (if available).
294294
$p_string = preg_replace( '/<span class="mention"><a .*?href="(.*?)">(.*?)<\/a><\/span>/is', '[url=$1 mention]$2[/url]', $p_string);
295295
$p_string = preg_replace( '/<a href="([^"]*)" title="([^"]*)">([^"]*)<\/a>/is', '[url=$1]$3[/url]', $p_string);
296296
$p_string = preg_replace( '/<a href="([^"]*)" title="([^"]*)" class="resolved">([^"]*)<\/a>/is', '[url=$1 resolved]$3[/url]', $p_string);
297-
echo $p_string;
298297
# strip all the auto generated URLs by MantisCoreFormatting plugin to avoid mangling.
299298
if ( ON == $this->t_MantisCoreFormatting_process_urls ) {
300299
$p_string = string_strip_hrefs( $p_string );

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ If you would like to contribute to BBCode plus, please [read this guide first](h
2626

2727
## Change Log
2828

29+
### 2.1.8
30+
31+
- Removed leftover debug call that was breaking display.
32+
2933
### 2.1.7
3034

3135
- Corrected outstanding bug with resolved bug links.

0 commit comments

Comments
 (0)