From 95921674a9bcdbb9e656297b8f6a7ce48e9ac47e Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 29 May 2014 16:21:34 +0100 Subject: [PATCH] Reference widget passes the configuration item "paragraphs" into the mkws-paragraphs helper, specifying how many paragraphs to render. If this is absent (or zero), all paragraphs obtained from the target are rendered. --- src/mkws-widget-reference.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mkws-widget-reference.js b/src/mkws-widget-reference.js index 74763d7..041d9e4 100644 --- a/src/mkws-widget-reference.js +++ b/src/mkws-widget-reference.js @@ -12,7 +12,7 @@ mkws.registerWidgetType('Reference', function() { {{#if md-title-responsibility}}\ {{md-title-responsibility}}\ {{/if}}\ - {{{mkws-paragraphs md-description}}}\ + {{{mkws-paragraphs md-description ' + this.config.paragraphs + '}}}\

Wikipedia

\ '); }); -- 1.7.10.4