Use {{#commaList}} helper to render subjects, avoiding long character
authorMike Taylor <mike@indexdata.com>
Fri, 14 Feb 2014 14:52:05 +0000 (14:52 +0000)
committerMike Taylor <mike@indexdata.com>
Fri, 14 Feb 2014 14:52:05 +0000 (14:52 +0000)
strings with no spaces that HTML can't render properly in small areas.

tools/htdocs/mkws.js

index 0e7902e..b9f13ef 100644 (file)
@@ -824,7 +824,8 @@ function team($, teamName) {
     <td>\
       {{#first location having="md-subject"}}\
        {{#if md-subject}}\
-         {{md-subject}}\
+         {{#commaList md-subject}}\
+           {{this}}{{/commaList}}\
        {{/if}}\
       {{/first}}\
     </td>\