Tags:
archive_me1Add my vote for this tag create new tag
, view all tags
When you have drawing tags (requires the drawing extension, of course) in a topic, doing a search (or index) can generate bad hyperlinks with missing quotes.

The answer? Change wikisearch.pm:

$head =~ s/%SEARCH[^%]*%/ /go;  # remove inline search
$head =~ s/%DRAWING({.*})?%/ /go; # AAW: Remove drawing tags
$head =~ s/\n/ /go;

-- AlWilliams - 30 Sep 2000

This is already in TWikiAlphaRelease since 20 Sep 2000, but thanks for letting us know. The rendering of a topic summary has been moved to wiki.pm, function makeTopicSummary. It does the following filtering:

	 $htext =~ s/%INCLUDE[^%]*%/ /go; # remove server side includes
	 $htext =~ s/%SEARCH[^%]*%/ /go;  # remove inline search
	 $htext =~ s/%DRAWING[^%]*%/ /go; # remove TWikiDraw drawing
	 $htext =~ s/%ATTACH[A-Z_0-9]*%//go;
	 $htext =~ s/%PUB[A-Z_0-9]*%//go;
	 $htext =~ s/%SCRIPT[A-Z_0-9]*%//go;
	 $htext = handleCommonTags( $htext, $theTopic, $theWeb );
	 $htext =~ s/<[^>]*>//go;			# remove all HTML tags
	 $htext =~ s/[\[\]\*\|=_]/ /go;	# remove Wiki formatting chars
	 $htext =~ s/\s+[\+\-]*/ /go;	  # remove newlines and special chars

-- PeterThoeny - 30 Sep 2000

Topic revision: r2 - 2000-10-01 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.