Commit 6292befa authored by Mark Andrews's avatar Mark Andrews

handle style sheets

parent 55108aa1
......@@ -15,7 +15,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: update_copyrights,v 1.43 2006/10/26 01:42:27 marka Exp $
# $Id: update_copyrights,v 1.44 2006/11/30 23:58:49 marka Exp $
require 5.002;
......@@ -241,8 +241,9 @@ foreach $file (keys %file_types) {
}
}
} elsif ($sgml_comment) {
if (/^<!DOCTYPE/) {
$before_copyright = $_;
$before_copyright = "";
while (/^<!DOCTYPE/ || /^<\?xml-stylesheet/) {
$before_copyright = "$before_copyright$_";
$_ = <SOURCE>;
;
while (!eof(SOURCE) && ! /^<!/ ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment