textile fix compat fix 9eb675b7e4
This commit is contained in:
parent
917c751c08
commit
345c81a0a6
@ -3,6 +3,8 @@
|
||||
Version 1.7.6 ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Fixed textile compat fix
|
||||
|
||||
|
||||
Version 1.7.5 (January 18th, 2014)
|
||||
------------------------------------------------------------------------
|
||||
|
@ -14,7 +14,7 @@ class serendipity_event_textile extends serendipity_event
|
||||
$propbag->add('description', PLUGIN_EVENT_TEXTILE_DESC);
|
||||
$propbag->add('stackable', false);
|
||||
$propbag->add('author', 'Serendipity Team', 'Lars Strojny');
|
||||
$propbag->add('version', '1.8.1');
|
||||
$propbag->add('version', '1.8.2');
|
||||
$propbag->add('requirements', array(
|
||||
'serendipity' => '0.8',
|
||||
'smarty' => '2.6.7',
|
||||
@ -276,10 +276,10 @@ class serendipity_event_textile extends serendipity_event
|
||||
require_once S9Y_INCLUDE_PATH . 'plugins/serendipity_event_textile/lib3/src/Netcarver/Textile/Parser.php';
|
||||
require_once S9Y_INCLUDE_PATH . 'plugins/serendipity_event_textile/lib3/src/Netcarver/Textile/DataBag.php';
|
||||
require_once S9Y_INCLUDE_PATH . 'plugins/serendipity_event_textile/lib3/src/Netcarver/Textile/Tag.php';
|
||||
include_once 'textile_namespace.inc.php'; // PHP 5.2 compat
|
||||
include 'textile_namespace.inc.php'; // PHP 5.2 compat
|
||||
// todo check for user-supplied output to restrict
|
||||
# return $textile->textileRestricted($string);
|
||||
return $textile->textileThis($string);
|
||||
if (is_object($textile)) return $textile->textileThis($string);
|
||||
} else {
|
||||
trigger_error(' Textile lib3 needs at least PHP 5.3.0 running. Update your PHP version or use lib2 instead.', E_USER_WARNING);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user