bugfix by johan: mediawiki filter improved

headers and hr (which require newlines at the end of line) should work now.