Changeset 742

Show
Ignore:
Timestamp:
12/08/08 23:36:52 (4 years ago)
Author:
d0nut
Message:

secured and released under community.woltlab.com

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • bbcode.gadget/files/lib/data/message/bbcode/GadgetBBCode.class.php

    r741 r742  
    1515         */ 
    1616        public function getParsedTag($openingTag, $content, $closingTag, BBCodeParser $parser) { 
     17                if(!preg_match('/[^\(\)\{\} ]+/', $content)) return ''; 
     18 
    1719                $params = isset($openingTag['attributes'][0]) ? explode(',', $openingTag['attributes'][0]) : array('100%'); 
    1820                $pos = strpos($params[0], '%');