[pmwiki-users] flyover title for anchor?

Hans design5 at softflow.co.uk
Mon Apr 7 11:55:03 CDT 2008

Monday, April 7, 2008, 5:02:16 PM, Randy Brown wrote:

> BTW, is there a way to force a new line in the tool tip text? (I use  
> the Creole recipe, so normally I would insert \\ where I want the  
> break, but that didn't work.)

I updated the function to do just that now:
Entering \\ inserts a line break (HTML <br /> tag).

Let me know if this works or not. Line breaks I find quite mysterious.

I had to make the function first convert any \\ to \\(:nl:)
(and doubling the \\ to \\\\, because half of them get stripped again)
then MarkupToHTMl renders \\(:nl:) as <br />

I never understood the use of markup (:nl:), if it only inserts line breaks
in the HTML, but not <br /> tags.

I also change dthe function, so that if no tooltip text is supplied,
no div for it will be generated (suppressing empty divs which still
may show because of css styling).


More information about the pmwiki-users mailing list