GREAT MOD! Thanks.
Btw, i found a small bug in filtering block with type html / php. This block type is not being filtered correctly due to problem of identifying the block_id.
For block type HTML the html bit after block_id is looks like this
class="blockbody floatcontainer restore"
instead of
class="blockbody floatcontainer"
Hence adding the following line to after line 553 seems to do the trick!
Code:
if ($blockid=='') {$blockid = strip_blockid($block,'<div id="block_','" class="blockbody floatcontainer restore">');}