Changeset 1713

Show
Ignore:
Timestamp:
03/27/2008 08:38:41 PM (8 months ago)
Author:
jeena
Message:

updated Christian Seilers bbcode parser to 0.3.3

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/scripts/stringparser.class.php

    r1688 r1713  
    77 * upon this class. 
    88 *  
    9  * Version: 0.3.2 
     9 * Version: 0.3.3 
    1010 * 
    1111 * @author Christian Seiler <spam@christian-seiler.de> 
    12  * @copyright Christian Seiler 2006 
     12 * @copyright Christian Seiler 2004-2008 
    1313 * @package stringparser 
    1414 * 
    1515 * The MIT License 
    1616 * 
    17  * Copyright (c) 2004-2007 Christian Seiler 
     17 * Copyright (c) 2004-2009 Christian Seiler 
    1818 * 
    1919 * Permission is hereby granted, free of charge, to any person obtaining a copy 
  • trunk/scripts/stringparser_bbcode.class.php

    r1688 r1713  
    33 * BB code string parsing class 
    44 * 
    5  * Version: 0.3.2 
     5 * Version: 0.3.3 
    66 * 
    77 * @author Christian Seiler <spam@christian-seiler.de> 
    8  * @copyright Christian Seiler 2006 
     8 * @copyright Christian Seiler 2004-2008 
    99 * @package stringparser 
    1010 * 
    1111 * The MIT License 
    1212 * 
    13  * Copyright (c) 2004-2007 Christian Seiler 
     13 * Copyright (c) 2004-2008 Christian Seiler 
    1414 * 
    1515 * Permission is hereby granted, free of charge, to any person obtaining a copy 
     
    772772        function _openElement ($type = 0) { 
    773773                $name = $this->_getCanonicalName ($this->_topNode ('name')); 
    774                 //var_dump ($name); 
    775774                if ($name === false) { 
    776775                        return $this->_reparseAfterCurrentBlock (); 
     
    998997                                $cmp_name = $this->_stack[$i]->name (); 
    999998                        } 
    1000                         if ($cmp_name == $name) { 
     999                        if ($cmp_name == $lname) { 
    10011000                                return $this->_stack[$i]; 
    10021001                        }