diff --git a/app/user_service.py b/app/user_service.py index 2e5feed..5d601e0 100644 --- a/app/user_service.py +++ b/app/user_service.py @@ -129,7 +129,7 @@ def userpage(username): user_freq_record = path_prefix + 'static/frequency/' + 'frequency_%s.pickle' % (username) if request.method == 'POST': # when we submit a form - content = escape(request.form['content']) + content = request.form['content'] f = WordFreq(content) lst = f.get_freq() return render_template('userpage_post.html',username=username,lst = lst, yml=Yaml.yml)