2023-08-02 20:36:37 -04:00
|
|
|
<% /*
|
|
|
|
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>...
|
|
|
|
*/ %>
|
2023-08-03 03:06:43 -04:00
|
|
|
<% for (const word of it.text.split(/\s+/)) { %><span class="word"><%= word %></span><% } %>
|