diff --git a/components/services/instance%2Fperson/html.template b/components/services/instance%2Fperson/html.template index b0c5e3928c79a0a72a6aa00760b199ace9338b39..df759c2f016b339bc021dabdf7ae40ae162c3ec3 100755 --- a/components/services/instance%2Fperson/html.template +++ b/components/services/instance%2Fperson/html.template @@ -143,7 +143,7 @@ </div> {% endif %} - {% if first.main.description.value %}<div class="decode-description" itemprop="http://schema.org/description">{{first.main.description.value|decodedescription}}</div>{% endif %} + {% if first.main.description.value %}<div class="decode-description" itemprop="http://schema.org/description">{% autoescape off %}{{first.main.description.value|decodedescription}}{% endautoescape %}</div>{% endif %} <p>{% if first.main.altname %}Også kjent som: <ul class="list-inline text-muted">{% for row in models.main %}{% ifchanged row.name.value %}<li><i>{{row.altname.value}}</i></li>{% endifchanged %}{% endfor %}</ul>{% endif %}</p> diff --git a/components/static/css/basic.css b/components/static/css/basic.css index b6f97c5c3cfd4fbfa1c26759879432732ff3ffe2..932ed4f157697610ce773b50753c2896c1db8ccc 100755 --- a/components/static/css/basic.css +++ b/components/static/css/basic.css @@ -129,7 +129,7 @@ } .lead-md { margin-bottom: 20px; font-size: 16.09999999998px; font-weight: 200; line-height: 1.4;} -.decode-description p:first-child { font-size: : 21px; } +.decode-description p:first-child { font-size: 16px; } .bs-sidebar { position: fixed; top: 90px; width: 265px;} .bs-sidebar h3 {border-bottom: solid 1px #ddd; padding-bottom: 5px; font-size: 1.4em;} diff --git a/components/types/bibo__Document/html.template b/components/types/bibo__Document/html.template index c1b1b1333cdbd21257b45693aad906aafd972309..edd34d9992a7193296f02cbc426cd32f05c0307d 100755 --- a/components/types/bibo__Document/html.template +++ b/components/types/bibo__Document/html.template @@ -305,7 +305,7 @@ <div class="col-md-8 col-md-pull-4"> {% for row in models.description %} {% autoescape off %} - <div itemprop="description" class="lead">{% autoescape off %}{{ row.description.value|decodedescription }}{% endautoescape %}</div> + <div class="decode-description" itemprop="description" class="lead">{% autoescape off %}{{ row.description.value|decodedescription }}{% endautoescape %}</div> {% endautoescape %} {% endfor %} diff --git a/components/types/ubbont__Photograph/html.template b/components/types/ubbont__Photograph/html.template index d5edf6f875e7971ebb1416bdd4581a5d5de73261..987add6dfe628bd128ab1aebe56c6eef4b062525 100755 --- a/components/types/ubbont__Photograph/html.template +++ b/components/types/ubbont__Photograph/html.template @@ -308,7 +308,7 @@ <div class="col-md-8 col-md-pull-4"> {% for row in models.description %} {% autoescape off %} - <div itemprop="description">{{ row.description.value|decodedescription }}</div> + <div class="decode-description" itemprop="description">{{ row.description.value|decodedescription }}</div> {% endautoescape %} {% endfor %}