[dokuwiki] Re: link in title?

TNHarris wrote:

On Mon, 4 Sep 2006 20:04:38 +0200, "Andreas Gohr" <andi@xxxxxxxxxxxxxx>
said:
To shorten this discussion: formattings in headlines is not possible and
was discussed multiple times before. Please search the archives.


But what about entities? And this applies to not just to headlines, but
also link and media titles, and a few formatting plugins that pull spans
of text in.


So I made this patch that invokes a second parser for replacing just
entities where appropriate. The changes are all in inc/parser/xhtml.php
and mostly involve replacing ''_xmlEntities'' with ''_inlineEntities''.
Plugins will also have to be modified accordingly.


Its a complex issue. I think about it from time to time but generally give up after not getting very far.


It may now be possible to work something using the "nest" mode, reworking headers and links to use open and close instructions and allowing things like TOC entries and link text to have small sets of instructions. Unfortunately its a problematic area, the parser can prevent some syntax modes being used within a particular mode. But it has no way of influencing the syntax modes that can be present within those modes. Which means it would become theoretically possible to include tables, lists and other complex structures within the wiki markup for headers and links, so any solution would need to overcome that hurdle. There are other issues too. All of which means the reworking required to provide a workable system is a LOT and the gains to be had are not so great.

Cheers,

Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: