Skip to content

Commit 0afc14f

Browse files
authored
Update textile to v4, remove old parsers (#864)
* Remove old textile libs * Add current textile version (4.1) via composer * Use current textile parser, remove old options * fix textile require failing, path was wrong * Restore doctype textile option * Fix some PHP 8 warnings * Document textile update
1 parent 7c28042 commit 0afc14f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+3778
-8596
lines changed

docs/NEWS

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Version 2.6-alpha1 ()
22
------------------------------------------------------------------------
33

4+
* Update Parser of textile plugin
5+
46
* Update smarty from v4.3.5 to v5.4.3. This new major version has
57
breaking changes, worked around as much as possible in the s9y core
68

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2.0: Remove old textile parsers and switch to netcarver/textile v4.1.3
2+
This will improve compatibility with current PHP version (8.x).

plugins/serendipity_event_textile/UTF-8/lang_de.inc.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
// Next lines were translated on 2014/01/06
2020
@define('PLUGIN_EVENT_TEXTILE_EXAMPLE_NOTE', 'Achtung: Die besten Resulte werden erzielt, wenn dieses Plugin an der Spitze aller Markup Plugins, aber <u>nach</u> Smilies "serendipity_event_emoticate" und Smarty Parsing "serendipity_event_smartymarkup" in der Pluginliste steht! Insbesondere Letzteres kann ansonsten zu potentielle Fehlermeldungen führen.');
21-
@define('PLUGIN_EVENT_TEXTILE_DOCTYPE', 'Textile: Konvertiere nach HTML5 (nur mit lib3 - benötigt ein HTML5 Theme wie 2k11)');
21+
@define('PLUGIN_EVENT_TEXTILE_DOCTYPE', 'Textile: Konvertiere nach HTML5');
2222
@define('PLUGIN_EVENT_TEXTILE_DOCTYPE_DESC', 'Momentan kann PHP-Textile entweder XHTML (default) oder HTML5 Quellcode produzieren. Im HTML5 Modus werden, außer den single-tag Endungen, nur kleinere Änderungen, wie acronym zu abbr und align Attribute in Images zu Klassen vorgenommen.');
2323
// todo: future
2424
#@define('PLUGIN_EVENT_TEXTILE_RESTRICTCOMMENTS', 'Textile: Restrict user comments (lib3 only)');

0 commit comments

Comments
 (0)