update issue template to span paragraphs
This commit is contained in:
parent
3bdee6d047
commit
7cc6357a5f
2 changed files with 12 additions and 8 deletions
5
views/spanwords.eta
Normal file
5
views/spanwords.eta
Normal file
|
@ -0,0 +1,5 @@
|
|||
<% /*
|
||||
satori, the HTML-to-SVG engine we use, has no concept of "inline" or "inline-block"
|
||||
CSS display values. So, we must emulate them with flex-wrap and making each word a <span>...
|
||||
*/ %>
|
||||
<% for (const word of it.text.split(/\s+/)) { %><span><%= word %></span><% } %>
|
Loading…
Add table
Add a link
Reference in a new issue