PEAR::Text_Wiki in Version 1.2.0RC2 veröffentlicht

The text transformation is done in 2 steps. The chosen parser uses markup rules to tokenize the tags and content. Renderers output the tokens and text into the requested format.
The tokenized form replaces the tags by a protected byte value associated to an index in an options table. This form shares up to 50 rules by all parsers and renderers.
The package is intented for versatile transformers as well as converters.
Text_Wiki is delivered with its own parser, which is used by Yawiki or Horde's Wicked and three basic renderers: XHTML , LaTeX and plain text.
Strong sanitizing of XHTML is default.
Parsers (* and Renderers) exist for bbcode, Cowiki (*), Dokuwiki (*), Mediawiki and Tikiwiki (*).
It is highly configurable and can be easily extended.
Release date: 2007-03-12 01:29 UTC
Release state: beta
Changelog:
New Features:
# Added an Address Xhtml renderer
# Balanced token checking has been added (this means that output such as <b><i>italic</b></i> is caught)
# A new stack-based callback system for renderers has been added to allow for more flexible output handling (see BlockQuote)
# The Url Xhtml renderer now allows a name to be passed in
# The Url Xhtml, Plain, Latex renderers now allow start/end tokens
Changes:
# Experimental preg rendering method deprecated as it had problems
# Package.xml 2.0 is now used exclusively
Bugs fixed:
# Bug #7320 fix UTF-8 rendering in WikiLink and Freelink
# Various UTF-8 fixes
# Bug #6292 remove paragraph tags from around headings and hrs in Xhtml renderer
# Preformatted Xhtml renderer now correctly escapes output
Dependencies:
- PHP Version: PHP 4.0.0 or newer
- PEAR Package: PEAR Installer 1.4.4 or newer
Weitere Infos und Download auf der PEAR-Homepage