[pmwiki-users] 'title' attribute of an HTML link
Patrick R. Michaud
pmichaud at pobox.com
Wed Jan 11 10:20:27 CST 2006
On Wed, Jan 11, 2006 at 05:05:57PM +0100, Jean DEMARTINI wrote:
> I aggree with the fact that to introduce an attribute to define a title
> attribute is not a very elegant method and I'm ready to abandonned it.
> I'have tried the method you propose. It functions quite properly with
> external links. Then OK.
> But, I encountered a problem with internal links. Naively, I'have tried
> the following code:
> $LinkPageSelfFmt = "<a class='selflink' href='\$LinkUrl'
> $LinkPageExistsFmt = "<a class='wikilink' href='\$LinkUrl'
> It does not function because $LinkAlt is not replaced by its value and
> we see the string '\$LinkAlt' in the bubble. Things are not so simple.
Yes, at the moment PmWiki doesn't recognize the title= attribute
for internal page links, only for external links. I'll have to
think about that one a bit, the "..." syntax won't work very well
for page links.
More information about the pmwiki-users