Wordpress problem.. how do you wrap stray text in P tags?

Example:

Before-

<div class = "content">
    <img src = "hello.jpg"/>
    <h1>Introduction</h1>
    Hello! this is stray text that I want to wrap with p tags
    Hello! This is another set of stray text
</div>

After-

<div class = "content">
    <img src = "hello.jpg"/>
    <h1>Introduction</h1>
    <p>Hello! this is stray text that I want to wrap with p tags</p>
    <p>Hello! This is another set of stray text</p>
</div>

Wordpress utilizes a wordpress plugin known as wpautop. This script instantly adds

tags to new lines. Generally, this really is useful. Sometimes, it's really a discomfort. In this situation you should use the Disable Autop Plugin.

You are able to by hand control this by altering the core Wordpress scripts. I would recommend utilizing a wordpress plugin.

Where's the stray text originating from? Could it be being joined in to the WordPress WYSIWYG editor? If that's the case, it'll instantly wrap the written text in P tags for those who have empty lines pre and post the written text.