Allowing HTML in block title - where is $block->subject created?
You may be interested in Block Class Styles, which has an additional feature:


  Allows the ability to set a global text format for custom block
  titles; this allows you to now have HTML in your custom block titles.
  Yes, you can now have block titles that contain HTML markup!