Skip to content

Commit

Permalink
fixed null match output
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-johnson committed May 25, 2013
1 parent 9780d49 commit ac90f8c
Show file tree
Hide file tree
Showing 2 changed files with 180 additions and 170 deletions.
348 changes: 179 additions & 169 deletions lib/parser.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/parser.coffee
Expand Up @@ -104,7 +104,7 @@ class Parser

return true

unless match then return { type: "text", text: str }
unless match then return [ { type: "text", text: str } ]

tree = _.map tree, (item) =>
if !item then return
Expand Down

0 comments on commit ac90f8c

Please sign in to comment.