mhonarc-commits
[Top] [All Lists]

CVS: mhonarc/MHonArc/doc/_helper addtoc-i.pl,1.2,1.3

2002-09-24 21:03:44
Update of /cvsroot/mhonarc/mhonarc/MHonArc/doc/_helper
In directory subversions:/tmp/cvs-serv25366/doc/_helper

Modified Files:
	addtoc-i.pl 
Log Message:
* Trim leading and trailing space from header when making TOC entry.


Index: addtoc-i.pl
===================================================================
RCS file: /cvsroot/mhonarc/mhonarc/MHonArc/doc/_helper/addtoc-i.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** addtoc-i.pl	30 Sep 1999 16:56:21 -0000	1.2
--- addtoc-i.pl	25 Sep 2002 04:03:34 -0000	1.3
***************
*** 33,36 ****
--- 33,38 ----
  	s|</?b>||gi;
  	s|<img[^>]*>||gi;
+ 	s/^(?:\&nbsp;|\s)+//;
+ 	s/(?:\&nbsp;|\s)+$//;
  	$toctxt .= qq|<li>|;
  	$toctxt .= qq|<small>|   if $h3;

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV