[pmwiki-users] wrapping around PageText
Patrick R. Michaud
pmichaud at pobox.com
Mon Oct 10 07:40:18 CDT 2005
On Mon, Oct 10, 2005 at 09:30:44AM +0200, bram wrote:
> >> Is it possible to wrap the formating more directly?
> >
> > Could you give a bit more detail about what you're wanting to
> > do in the wrap itself?
>
> I replace pieces of text based on the refer-string.
> http://www.pmwiki.org/wiki/Cookbook/SearchHighLight
>
> Whenever a user arrives from a search-portal the keywords used are
> highlighted.
>
> 'keyword' becomes '<span class='hl1'>keyword</span>
Oh. Did you take a look at http://www.pmwiki.org/wiki/Cookbook/SearchTerms ?
It does a similar replacement.
Pm
More information about the pmwiki-users
mailing list