autoescaping prevent from directly writing HTML in python. Your code could be re-written as:
qList = re.sub("[^\w]", " ", request.args.get('q') ).split()
return render_template('list_of_found_items.html', items = map(RESULT_BLAH_BLAH_METHOD, qList))
And the following template
<somewhere in html>
{% block content %}
{% for item in qList %}
<div class="results" >
<p>{{item}}</p>
<br></br>
</div>
{% endfor %}
{% endblock %}
</somewhere in html>