update issue template to span paragraphs

This commit is contained in:
hazycora 2023-08-02 19:36:37 -05:00
parent 3bdee6d047
commit 7cc6357a5f
No known key found for this signature in database
GPG key ID: 215AF1F81F86940E
2 changed files with 12 additions and 8 deletions

5
views/spanwords.eta Normal file
View 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><% } %>