Use new Handlebars helper, "paragraphs", to render md-description.
authorMike Taylor <mike@indexdata.com>
Tue, 29 Apr 2014 15:17:00 +0000 (16:17 +0100)
committerMike Taylor <mike@indexdata.com>
Tue, 29 Apr 2014 15:17:00 +0000 (16:17 +0100)
examples/htdocs/mkws-widget-reference.js

index fc2b920..3231ebc 100644 (file)
@@ -13,7 +13,7 @@ mkws.registerWidgetType('Reference', function() {
   <i>{{md-title-responsibility}}</i>\
 {{/if}}\
   <p>\
-    {{md-description}}\
+    {{{paragraphs md-description}}}\
   </p>\
 ');
 });