Skip to content

Commit

Permalink
replace specialchars with '-' ..
Browse files Browse the repository at this point in the history
.. not ideal, but only in mermaid. Fixes #15
  • Loading branch information
arkadianriver committed Aug 21, 2021
1 parent 675053a commit 4175bae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion TODO
Expand Up @@ -30,7 +30,7 @@ Todos:
-----------------------------------------------------------------------------------
✔ take cat to the vet url•https://www.yelp.com/search?find_desc=Cat+Vet&find_loc=Seattle%2C+WA @3h @done(2021-08-09 21:37) @project(Todos)
☐ @high ghihq•4 showing a linkme example @prjb
☐ @today decide organization requirements @prja @woot
☐ @today decide 1:2 organization requirements @prja @woot
☐ @today work with so-and-so on such-and-such @prja @prjb
☐ get thing-a-ma-bob Info from SME-guru @4h @prja
☐ add such-and-such CSS to project page @2h @prjb @f24
Expand Down
8 changes: 4 additions & 4 deletions views/index.ejs
Expand Up @@ -32,28 +32,28 @@
<% if (issues.blockers.length) { -%>
section Blockers
<% issues.blockers.forEach(b => { -%>
<%= b.title %> <%= b['tagstring'] %> :<%= b['color'] %>k<%= b['number'] %>, <%= b['startdate'] %>, <%= b['est'] %>
<%- `${b.title.replace(/[:#]/,'-')}` %> <%= b['tagstring'] %> :<%= b['color'] %>k<%= b['number'] %>, <%= b['startdate'] %>, <%= b['est'] %>
<% }); -%>
<% } -%>

<% if (issues.milestones.length) { -%>
section Milestones
<% issues.milestones.forEach( t => { -%>
<%= t.title %> <%= t['tagstring'] %> :<%= t['color'] %>k<%= t['number'] %>, <%= t['startdate'] %>, <%= t['est'] %>
<%- `${t.title.replace(/[:#]/,'-')}` %> <%= t['tagstring'] %> :<%= t['color'] %>k<%= t['number'] %>, <%= t['startdate'] %>, <%= t['est'] %>
<% }); -%>
<% } -%>

<% if (issues.open.active.length) { -%>
section In Progress
<% issues.open.active.forEach( t => { -%>
<%= t.title %> <%= t['tagstring'] %> :<%= t['color'] %>k<%= t['number'] %>, <%= t['startdate'] %>, <%= t['est'] %>
<%- `${t.title.replace(/[:#]/,'-')}` %> <%= t['tagstring'] %> :<%= t['color'] %>k<%= t['number'] %>, <%= t['startdate'] %>, <%= t['est'] %>
<% }); -%>
<% } -%>

<% if (issues.open.pending.length) { -%>
section Backlog
<% issues.open.pending.forEach( t => { -%>
<%= t.title %> <%= t['tagstring'] %> :<%= t['color'] %>k<%= t['number'] %>, <%= t['startdate'] %>, <%= t['est'] %>
<%- `${t.title.replace(/[:#]/,'-')}` %> <%= t['tagstring'] %> :<%= t['color'] %>k<%= t['number'] %>, <%= t['startdate'] %>, <%= t['est'] %>
<% }); -%>
<% } -%>

Expand Down

0 comments on commit 4175bae

Please sign in to comment.