Changeset 5332
- Timestamp:
- 04/01/2014 08:27:59 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/converters/SMF.php
r5191 r5332 720 720 $SMF_markup = preg_replace( '/\[\/tt\]/', '</tt>', $SMF_markup ); 721 721 722 // Replace '<br />' with ' '723 $SMF_markup = preg_replace( '/\<br \/\>/', '<tt>',$SMF_markup );722 // Replace '<br />' with '<br>' 723 $SMF_markup = preg_replace( '/\<br \/\>/', '<br>', $SMF_markup ); 724 724 725 725 // Replace '[size=$1]' with '<span style="font-size:$1%;">$3</span>' … … 727 727 // Replace '[/size]' with '</span>' 728 728 $SMF_markup = preg_replace( '/\[\/size\]/', '</span>', $SMF_markup ); 729 730 // Replace non-break space ' ' with space ' ' 731 $SMF_markup = preg_replace ( '/ /', ' ', $SMF_markup ); 729 732 730 733 // Now that SMF custom HTML has been stripped put the cleaned HTML back in $field
Note: See TracChangeset
for help on using the changeset viewer.