hi hpguru and jor.
i've fixed these filters, now they work fine.
btw, as usual, please test them yourself. if you confirm that they work, i'll upload them in the download sub-section of this forum, as requested by arne, to make them available to other users.
Name = "Close stylesheet comments"
Active = TRUE
URL = "$TYPE(htm)"
Bounds = "$NEST(<style,<style>)"
Limit = 12
Match = "(-->)1$STOP()|(</style>)2$SET(1=//-->)"
Replace = "1
2"
Name = "Add </head> tag when missing"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 12
Match = "(</head>)1$STOP()|(<body)2$SET(1=</head>)"
Replace = "12"
NOTE: i've posted these filters in 2 different threads, the first started by hpguru, the second by jor.
regards,
altosax.