michitux / dokuwiki-plugin-searchtext

Searches pages rendered as text instead of raw wiki. Displays search result snippets from text.
https://www.dokuwiki.org/plugin:searchtext
3 stars 5 forks source link

Plugin also shows URL #2

Open ullenboom opened 11 years ago

ullenboom commented 11 years ago

Take http://retrobu.de/doku.php/start?do=search&id=DIZZY+DICE, e.g. The result is not the pure text but contains an URL:

B.C. Bill , Imagine , 1984 , BACKGAMMON also DICE , Psion , 1982 , http://www.worldofspectrum.o... www.worldofspectrum.org/infoseekid.cgi?id=0009332 Dizzy , Code Masters , 1987 , http://www.worldofspe

Is this intended? How can this behavior be controlled, so that the result is

BACKGAMMON also DICE Psion 1982
Dizzy Code Masters 1987

michitux commented 11 years ago

The text plugin which is used by the searchtext plugin generates this output because without the URL a major information is missing from the content. In other words, this is intended. This behavior currently can't be changed.