Permalink
Browse files

real fix for getting first paragraph

  • Loading branch information...
1 parent 0fa46df commit bf0fac547209f75fa9be72bb6fd8f1ce59d4e287 Visnu Pitiyanuvath committed Nov 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 views/teams/entries.jade
View
@@ -30,7 +30,7 @@ ul.teams
h4 by
a( href='/teams/' + team )= team.name
.description
- if p = markdown(team.entry.description).match('<p>[^<]+?</p>')
+ if p = markdown(team.entry.description).match(/<p>[\s\S]+?<\/p>/)
!= p
team.scores
.score

0 comments on commit bf0fac5

Please sign in to comment.