Skip to content

Commit

Permalink
todo: untagged html
Browse files Browse the repository at this point in the history
  • Loading branch information
amarcruz committed Dec 2, 2015
1 parent 7093db2 commit 9053f28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,8 @@ var compile = (function () {
k = str.lastIndexOf('<', k -1)
}

// TODO 2.4.0 make untagged content html, update the guide too
//return [str, ''] // no closing tag found, assume html text
return ['', str]
}

Expand Down

0 comments on commit 9053f28

Please sign in to comment.