Skip to content

Commit 876bb45

Browse files
author
Rand McKinney
committed
Clean up generated HTML
1 parent 77df9f5 commit 876bb45

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

_includes/description.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{%- if include.str -%}<div class="prop_desc">{{include.str | markdownify}}</div>{%- else -%}<p class="comment">Description TBD.</p>{%- endif -%}
1+
{%- if include.str -%}<div class="prop_desc">{{include.str | markdownify | strip_html}}</div>{%- else -%}<p class="comment">Description TBD.</p>{%- endif -%}

pages/reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
</td>
3939

4040
<!-- Description -->
41-
<td class="manifest-ref-table">{{property.last.description|markdownify}}
41+
<td class="manifest-ref-table">{{property.last.description|markdownify | strip_html}}
4242
{% if property.last.additionalProperties %}
4343
{% assign href=property.last.additionalProperties.first[1] %}
44-
See {% include ref-to-link.html ref=href %}
44+
<br/>See {% include ref-to-link.html ref=href %}
4545
{% endif %}
4646
</td>
4747

0 commit comments

Comments
 (0)