Works for the article detail layout. You have to change the {} to in the core file though. But when you activate the plugin, this time the headers in the blog layout are distorted because they are already h2 in joomla. So h1 tags inside h2 tags do not work.