Allow raw HTML in readme compatibility matrix

This commit is contained in:
lowlighter
2021-04-07 00:27:41 +02:00
parent 679886333f
commit 1e87775497
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
</tr><%# -%> </tr><%# -%>
<% for (const [template, {name, readme}] of Object.entries(templates).filter(([key, value]) => (value)&&(!["community"].includes(key)))) { %> <% for (const [template, {name, readme}] of Object.entries(templates).filter(([key, value]) => (value)&&(!["community"].includes(key)))) { %>
<tr> <tr>
<th nowrap="nowrap"><%= name %></th><%# -%> <th nowrap="nowrap"><%- name %></th><%# -%>
<% for (const [plugin] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key)))) { %> <% for (const [plugin] of Object.entries(plugins).filter(([key, value]) => (value)&&(!["core"].includes(key)))) { %>
<th nowrap="nowrap" align="center" data-plugin="<%= plugin %>"><%= readme.compatibility[plugin] ? "✔️" : "❌" %></th><% } %> <th nowrap="nowrap" align="center" data-plugin="<%= plugin %>"><%= readme.compatibility[plugin] ? "✔️" : "❌" %></th><% } %>
</tr><% } %> </tr><% } %>

View File

@@ -758,7 +758,7 @@ https://my-personal-domain.com/my-github-user?base=0&base.repositories=1
<th nowrap="nowrap" align="center" data-plugin="nightscout">❌</th> <th nowrap="nowrap" align="center" data-plugin="nightscout">❌</th>
</tr> </tr>
<tr> <tr>
<th nowrap="nowrap">📒 Markdown &lt;sup&gt;🚧 v3.7&lt;/sup&gt;</th> <th nowrap="nowrap">📒 Markdown <sup>🚧 v3.7</sup></th>
<th nowrap="nowrap" align="center" data-plugin="base">✔️</th> <th nowrap="nowrap" align="center" data-plugin="base">✔️</th>
<th nowrap="nowrap" align="center" data-plugin="isocalendar">❌</th> <th nowrap="nowrap" align="center" data-plugin="isocalendar">❌</th>
<th nowrap="nowrap" align="center" data-plugin="languages">❌</th> <th nowrap="nowrap" align="center" data-plugin="languages">❌</th>