Skip to content

Commit

Permalink
Process main docblock separately from trigger block to work around bug
Browse files Browse the repository at this point in the history
(cherry picked from commit 0fabd44)
  • Loading branch information
starwed committed Jan 31, 2014
1 parent 4b1533e commit 4e3328b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/api-gen.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class DocBlock
# Method for returning the documentation for this block
getContent: ()->
if @isFunctionTag(@prevTag) then @code.push("</dl>")
return @code.join("\n") + triggerBlock(@triggers) + seeBlock(@see)
return marked(@code.join("\n")) + triggerBlock(@triggers) + seeBlock(@see)

# parse js file
parseJS = (path) ->
Expand Down

0 comments on commit 4e3328b

Please sign in to comment.