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:
Pete Bacon Darwin 2018-09-26 14:05:38 +01:00 committed by Alex Rickabaugh
parent 7373da9b11
commit 5977b72e9c
1 changed files with 1 additions and 4 deletions

View File

@ -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 %}