[dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)

  • From: Chris Smith <chris@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 26 May 2006 18:14:54 +0100

sports tg wrote:

Chris,

I use the following hack to get rid of underscores in file names (though
they still show in folder names),

file: /inc/parser/xhtml.php
function:  _simpleTitle()  (~ line #890)

change the last line of the function from
 return $name;
to
return str_replace("_"," ", $name);

Would it be possible to achieve this with a plug-in rather than with this
hack? I would be up for giving it a go myself with a few pointers perhaps
:-)

Links are tricky and probably more effort than they are worth. I think I have done the same thing as you. The "use first heading" config setting is a better option.

Cheers,

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

Other related posts: