[LON-CAPA-cvs] cvs: loncom /interface lonhelp.pm

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 30 Jun 2006 03:50:02 -0000


albertel		Thu Jun 29 23:50:02 2006 EDT

  Modified files:              
    /loncom/interface	lonhelp.pm 
  Log:
  - the search term bolding was getting escaped (BUG#4889)
  
  
Index: loncom/interface/lonhelp.pm
diff -u loncom/interface/lonhelp.pm:1.28 loncom/interface/lonhelp.pm:1.29
--- loncom/interface/lonhelp.pm:1.28	Mon Jun 26 18:22:00 2006
+++ loncom/interface/lonhelp.pm	Thu Jun 29 23:50:02 2006
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonhelp.pm,v 1.28 2006/06/26 22:22:00 albertel Exp $
+# $Id: lonhelp.pm,v 1.29 2006/06/30 03:50:02 albertel Exp $
 #
 # .tex help system web server handler
 #
@@ -164,9 +164,9 @@
 		    $line=~s/\{//gs;
 		    $line=~s/\}//gs;
 		    $line=~s/\\/ /gs;
-		    $line=~s/(\Q$term\E)/\<b\>$1\<\/b\>/gsi;
                     $line=~s/\</\&lt\;/gs;
                     $line=~s/\>/\&gt\;/gs;
+		    $line=~s/(\Q$term\E)/\<b\>$1\<\/b\>/gsi;
 		    $quote.='<br />...'.$line.'...';
 		}
 	    }