title: storing text in mongodb?
body: <p>I'm using mongo to store website contents, including some pretty long chunks of text, but I'm having this weird issue with formatting. When I have a long string, it won't wrap or break or scroll, no matter what I do to the container. Is this an obvious issue with mongodb and I should try something else, or is it just something to do with the way I'm using it?</p>
  
  <p><strong>edit</strong></p>
  
  <p>It's basically a mini-blog. I'm displaying an image with a related paragraph in a box tied to each database entry, so users can scroll through them. App is in node.js on Heroku, view engine is jade, database is MongoHQ via monk.</p>
  
  <p>route for 'feed' page in index.js:</p>
  
  <pre><code>exports.feed = function(db) {
      return function(req, res) {
          var collection = db.get('contents');
          collection.find({},{sort:{date:1}}, function(e,docs){
              res.render('feed', {
                  "feed": docs
              });
          });
      };
  };
  </code></pre>
  
  <p>and on the page itself:</p>
  
  <pre><code>each pages, i in feed
      a(href="/cont/#{pages.href}" title="#{pages.title}")
          .feedbox
              .feedimg(style="background-image: url(#{pages.img})")
              .feedtext
                  p #{pages.text}
  </code></pre>