*** bin/view.orig Mon Jan 6 15:40:38 2003 --- bin/view Mon Jan 6 15:46:14 2003 *************** *** 108,113 **** --- 108,116 ---- if( $topicExists ) { if( $viewRaw ) { $text = &TWiki::Store::readTopicRaw( $webName, $topic ); + $text =~ s/&/&/go; + $text =~ s//>/go; $text =~ s/\t/ /go; } else { ( $meta, $text ) = &TWiki::Store::readTopic( $webName, $topic ); *************** *** 126,131 **** --- 129,137 ---- if( $rev < $maxrev ) { if( $viewRaw ) { $text = &TWiki::Store::readTopicRaw( $webName, $topic, "1.$rev" ); + $text =~ s/&/&/go; + $text =~ s//>/go; $text =~ s/\t/ /go; } else { ( $meta, $text ) = &TWiki::Store::readTopicVersion( $webName, $topic, "1.$rev" );