build(docs-infra): fix formatting of entry point export table (#25768)
Now that `list-table` cells are `pre` formatterd we must be careful of what whitespace appears in text nodes. PR Close #25768
This commit is contained in:
parent
7373da9b11
commit
5977b72e9c
|
@ -8,10 +8,7 @@
|
|||
<table class="is-full-width list-table">
|
||||
{% for item in filteredItems %}
|
||||
<tr>
|
||||
<td><code class="code-anchor">
|
||||
<a href="{$ overridePath or item.path $}"
|
||||
{%- if item.deprecated != undefined %} class="deprecated-api-item"{% endif %}>{$ item.name $}</a></code>
|
||||
</td>
|
||||
<td><code class="code-anchor"><a href="{$ overridePath or item.path $}"{%- if item.deprecated != undefined %} class="deprecated-api-item"{% endif %}>{$ item.name $}</a></code></td>
|
||||
<td>
|
||||
{% if item.deprecated !== undefined %}{$ ('**Deprecated:** ' + item.deprecated) | marked $}{% endif %}
|
||||
{% if item.shortDescription %}{$ item.shortDescription | marked $}{% endif %}
|
||||
|
|
Loading…
Reference in New Issue