danzajdband/Node-polls — Issue #1: Unscaped poll data crash JS
Author: atarantini
Created: 2012-02-28 20:03:29+00:00
State: open

When the "poll" var is rendered via `var poll = $.parseJSON('!{json_poll}');` in `views/index.jade`; if one option or maybe the title contains a single quote JS crashed and graphic is not redered nor new options can be added.

For example, a poll with an option like "Let's go" whill crash homepage if displayed as featured.