Make html filtering hack case insensitive
This commit is contained in:
		
							parent
							
								
									c3d964f747
								
							
						
					
					
						commit
						2a5ff893b7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -87,7 +87,7 @@ fn genbody { | |||
|     if not if ( test -f $body.tpl ) | ||||
|         template.awk $body.tpl | rc $rcargs | ||||
|     if not if ( test -f $body.html ) | ||||
|         cat $body.html | /bin/sed '0,/<body>/d; /<\/body>/,$d'  | ||||
|         cat $body.html | /bin/sed '0,/<[Bb][Oo][Dd][Yy][^>]*>/d; /<\/[Bb][Oo][Dd][Yy]>/,$d'  | ||||
|     if not if (~ $body *.html && test -f $body ) | ||||
|         cat $body | /bin/sed -i '0,/<body[^>]*>/d;/<\/body>/,$d'  | ||||
|     if not if ( ~ $body */[bB]log/index */[bB]log//index && ~ $#blogDirs 0 ) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Uriel
						Uriel