     
     # Add markup
     for post, index in result.threads[0].posts
-      console.log "Post text before: #{post.text}"
       post.text = markup.parseMarkup req.params.boardName, req.params.id, post.text
-      console.log "Post text after: #{post.text}"
       
     res.render 'board/viewThread',
       board: result,

        console.log err
        res.end 'There was an error!'
      name = if req.body.name? and String(req.body).length isnt 0 then req.body.name else 'Anonymous'
      console.log name
      thread = new Thread(
        id: result.postCount
        posts:

      if err? or not result?
        console.log err
        res.end 'There was an error!'
      name = if req.body.name? and String(req.body.name.length).length isnt 0 then req.body.name else 'Anonymous'
      currentPostCount = result.postCount
      escapedText = escape(req.body.comment)
