Fixed conversion of < and >
authorslubek <slubek>
Fri, 13 Feb 2004 00:03:46 +0000 (00:03 +0000)
committerslubek <slubek>
Fri, 13 Feb 2004 00:03:46 +0000 (00:03 +0000)
lang/convert.awk

index 1db11f21b4e251d7121f359374d9f47df218205b..ebd566e5b4869d627bc348e0689a4d23720ba490 100755 (executable)
@@ -10,9 +10,7 @@ BEGIN { while (index($0,"&lt;?php")==0) { getline; continue }
 # (as there should be only one occurance, thats no problem)
 /\?\&gt;/ { print "?>"; exit }
 
-       { # I'm not sure if its still needed
-         gsub("&gt;",">"); 
-         gsub("&lt;","<"); 
+       { 
          # Convert CRLF -> LF (== "remove CR" ) ;-)
          gsub("&#13;","");
          print $0