Skip to content

Commit 4301004

Browse files
committed
style open properties same way as core
1 parent 937f4cd commit 4301004

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

intent-open-properties/index.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ The data displayed below is derived from the YAML file
3232

3333
{%- assign toct = "" -%}
3434
{%- for tocp in site.data.open-properties -%}
35-
{% if toct != tocp.type %}
35+
{% if toct == tocp.type -%}
36+
,
37+
{% else %}
3638

3739
{% unless toct == "" %}
3840
p>
@@ -96,7 +98,7 @@ The data displayed below is derived from the YAML file
9698

9799
<dt id="prop-{{p.property}}">{{p.property}}dt>
98100
<dd>
99-
{%- if p.effect -%}<div><i>Effecti>: {{p.effect}}div>{%- endif -%}
101+
{%- if p.effect -%}<div><i>Effecti>: {{p.effect | markdownify | replace: "<p>", "<span>" | replace: "p>", "span>" }}div>{%- endif -%}
100102
{%- if p.applicability %}<div><i>Applicabilityi>: {{p.applicability}}div>{%- endif -%}
101103
{%- if p.intent -%}<div><i>Intenti>: <code>{{p.intent}}code>div>{%- endif -%}
102104
{%- if p.comment -%}<div><i>Commenti>: <i>{%- for com in p.comment -%}
@@ -110,6 +112,7 @@ The data displayed below is derived from the YAML file
110112
{% highlight xml %}
111113
{{e.mathml }}
112114
{% endhighlight %}
115+
<math display="block">{{e.mathml}}math>
113116
{% endif %}
114117
{%- for language in site.data.languages -%}
115118
{%- if e[language.language-code] %}

0 commit comments

Comments
 (0)