From 3051f8a62d89c6abef53dd6c1d7ca0a2db09bfdd Mon Sep 17 00:00:00 2001 From: Jeremy Shipman Date: Mon, 24 Sep 2007 22:41:02 +0000 Subject: [PATCH] Fixed bbcode class conflict with user's existing pear class install. git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.0@42518 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- parsers/HTML/HTMLBBCodeParser.php | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/parsers/HTML/HTMLBBCodeParser.php b/parsers/HTML/HTMLBBCodeParser.php index 5ef89f242..80ee3f126 100644 --- a/parsers/HTML/HTMLBBCodeParser.php +++ b/parsers/HTML/HTMLBBCodeParser.php @@ -18,10 +18,11 @@ // // $Id: BBCodeParser.php,v 1.17 2007/07/02 18:46:30 cweiske Exp $ // +// Modified by SilverStripe www.silverstripe.com /** * @package SSHTMLBBCodeParser -* @author Stijn de Reede +* @author Stijn de Reede , SilverStripe * * * This is a parser to replace UBB style tags with their html equivalents. It @@ -52,35 +53,8 @@ * unset($options); * * -* The _definedTags variables should be in this format: -* array('tag' // the actual tag used -* => array('htmlopen' => 'open', // the opening tag in html -* 'htmlclose' => 'close', // the closing tag in html, -* can be set to an empty string -* if no closing tag is present -* in html (like ) -* 'allowed' => 'allow', // tags that are allowed inside -* this tag. Values can be all -* or none, or either of these -* two, followed by a ^ and then -* followed by a comma seperated -* list of exceptions on this -* 'attributes' => array() // an associative array containing -* the tag attributes and their -* printf() html equivalents, to -* which the first argument is -* the value, and the second is -* the quote. Default would be -* something like this: -* 'attr' => 'attr=%2$s%1$s%2$s' -* ), -* 'etc' -* => (...) -* ) */ - - class SSHTMLBBCodeParser { /**