Browse Source

Forgot to remove these print lines

Used to debug the [url] bbcode. [url] only works with ‘real’ urls - not
with ‘localhost’.
sh4nks 10 years ago
parent
commit
dc09b20b9e
2 changed files with 0 additions and 2 deletions
  1. 0 1
      flaskbb/forum/views.py
  2. 0 1
      flaskbb/utils/helpers.py

+ 0 - 1
flaskbb/forum/views.py

@@ -319,7 +319,6 @@ def reply_post(topic_id, post_id):
     form = ReplyForm()
     if form.validate_on_submit():
         if request.form['button'] == 'preview':
-            print form.content.data
             return render_template("forum/new_post.html", topic=topic,
                                    form=form, preview=form.content.data)
         else:

+ 0 - 1
flaskbb/utils/helpers.py

@@ -281,7 +281,6 @@ def render_markup(text):
     :param text: The text that should be rendered as bbcode
     """
     if flaskbb_config['MARKUP_TYPE'] == 'bbcode':
-        print render_bbcode(text)
         return render_bbcode(text)
     elif flaskbb_config['MARKUP_TYPE'] == 'markdown':
         return render_markdown(text, extras=['tables'])