What does check_markup() actually do?
check_markup() will:


  Run all the enabled filters on a piece of text.


Since one of those filters will probably be the HTML corrector, you'll get the &lt;p&gt;&lt;/p&gt; tags wrapping your text string.