WordPress.org

Plugin Directory

Changeset 403751


Ignore:
Timestamp:
07/02/11 15:51:00 (3 years ago)
Author:
Coolkevman
Message:

Remove greediness of BBCode [quote] matching regular expression.

Location:
e107-importer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • e107-importer/trunk/e107-importer.php

    r403746 r403751  
    12631263      , '/\[\/\s*blockquote\s*\]/i' => '</blockquote>' 
    12641264      // Replace "[quoteXXXXX]...[/quoteXXXXX]" with "<blockquote>...</blockquote>" 
    1265       , '/\[\s*quote.*\]/i'   => '<blockquote>' 
    1266       , '/\[\/\s*quote.*\]/i' => '</blockquote>' 
     1265      , '/\[\s*quote(.*?)\]/i'   => '<blockquote>' 
     1266      , '/\[\/\s*quote(.*?)\]/i' => '</blockquote>' 
    12671267      // Fix malformated [link="URL"] and [link=&quot;URL&quot;] BBCodes (e107 parser fails on double quotes) 
    12681268      , '/\[\s*link\s*=\s*("|&quot;)(.*?)\1\s*\]/i' => '[link=\2]' 
  • e107-importer/trunk/readme.txt

    r403749 r403751  
    140140 
    141141= 1.4 = 
    142  
    143 No changes yet. 
     142* Fix BBCode's quote tag transformation by enhanced parser. 
    144143 
    145144= 1.3 = 
Note: See TracChangeset for help on using the changeset viewer.