Skip to:
Content

bbPress.org

Changeset 5557


Ignore:
Timestamp:
11/08/2014 01:36:45 AM (7 years ago)
Author:
netweb
Message:

Fix incorrect variable name in SMF.php callback callback_html()

  • This caused the regular expression for BBCode [list] and [list type=decimal] to not be included in the callback_html() callback.

Props netweb. Fixes #2715

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/converters/SMF.php

    r5544 r5557  
    729729
    730730        // Replace '[list]' with '<ul>'
    731         $phpbb_uid = preg_replace( '/\[list\]/',     '<ul>',          $phpbb_uid );
     731        $SMF_markup = preg_replace( '/\[list\]/',     '<ul>',                      $SMF_markup );
    732732        // Replace '[liist type=decimal]' with '<ol type="a">'
    733         $phpbb_uid = preg_replace( '/\[list\ type=decimal\]/',   '<ol type="a">', $phpbb_uid );
     733        $SMF_markup = preg_replace( '/\[list\ type=decimal\]/',   '<ol type="a">', $SMF_markup );
    734734        // Replace '[li]' with '<li>'
    735735        $SMF_markup = preg_replace( '/\[li\]/',   '<li>',  $SMF_markup );
Note: See TracChangeset for help on using the changeset viewer.