Skip to content

Commit d0e224a

Browse files
authored
Merge pull request #76 from bkraul/develop-1.3.x
Removed leftover debug call that was breaking display
2 parents 938feb1 + 1b9f0b0 commit d0e224a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

BBCodePlus/BBCodePlus.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,10 @@ function add_tags() {
267267
* @return string $p_string
268268
*/
269269
function string_process_bbcode( $p_string, $p_multiline = TRUE ) {
270-
// convert mentions and titled links to BBCode mentions (if available).
270+
# convert mentions and titled links to BBCode mentions (if available).
271271
$p_string = preg_replace( '/<span class="mention"><a .*?href="(.*?)">(.*?)<\/a><\/span>/is', '[url=$1 mention]$2[/url]', $p_string);
272272
$p_string = preg_replace( '/<a href="([^"]*)" title="([^"]*)">([^"]*)<\/a>/is', '[url=$1]$3[/url]', $p_string);
273273
$p_string = preg_replace( '/<a href="([^"]*)" title="([^"]*)" class="resolved">([^"]*)<\/a>/is', '[url=$1 resolved]$3[/url]', $p_string);
274-
echo $p_string;
275274
# strip all the auto generated URLs by MantisCoreFormatting plugin to avoid mangling.
276275
if ( ON == $this->t_MantisCoreFormatting_process_urls ) {
277276
$p_string = string_strip_hrefs( $p_string );

README.md

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

2626
## Change Log
2727

28+
### 1.3.8
29+
30+
- Removed leftover debug call that was breaking display.
31+
2832
### 1.3.7
2933

3034
- Corrected outstanding bug with resolved bug links.

0 commit comments

Comments
 (0)