Chris, this is not defining new syntax entities (like replacing >>
with «), but about recognizing and preserving entities in the
source (i.e., if the user types "E;", leave that as "E;" in the
HTML output, rather than quoting it to "&#7E;"). Among other
things, this gives you a way to programmatically quote text that
might be misinterpreted as wiki syntax.
Here is the patch. Any comments?
function _headerToLink($title) {
Eddie
On Feb 14, 2006, at 4:52 PM, Chris Smith wrote:
Eddie Kohler wrote:Hi all,
I've written a patch that allows &whatever; entities to make it through to HTML. Other &s are quoted as usual. Would this be generally useful? Had someone else done it already?
Thanks, Eddie
--DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist
You can define entity codes in conf/entities.local.conf
Personally, I don't think a patch is appropriate, but a syntax plugin would be suitable.
Cheers,
Chris -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist
-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist