Skip to content
Snippets Groups Projects
Commit afef061d authored by Tarje Saelen Lavik's avatar Tarje Saelen Lavik
Browse files

Fant noen felst som ikke var tagget opp med klasse og autoescape off.

parent b89431cd
No related branches found
No related tags found
No related merge requests found
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
</div> </div>
{% endif %} {% 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> <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>
......
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
} }
.lead-md { margin-bottom: 20px; font-size: 16.09999999998px; font-weight: 200; line-height: 1.4;} .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 { position: fixed; top: 90px; width: 265px;}
.bs-sidebar h3 {border-bottom: solid 1px #ddd; padding-bottom: 5px; font-size: 1.4em;} .bs-sidebar h3 {border-bottom: solid 1px #ddd; padding-bottom: 5px; font-size: 1.4em;}
......
...@@ -305,7 +305,7 @@ ...@@ -305,7 +305,7 @@
<div class="col-md-8 col-md-pull-4"> <div class="col-md-8 col-md-pull-4">
{% for row in models.description %} {% for row in models.description %}
{% autoescape off %} {% 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 %} {% endautoescape %}
{% endfor %} {% endfor %}
......
...@@ -308,7 +308,7 @@ ...@@ -308,7 +308,7 @@
<div class="col-md-8 col-md-pull-4"> <div class="col-md-8 col-md-pull-4">
{% for row in models.description %} {% for row in models.description %}
{% autoescape off %} {% autoescape off %}
<div itemprop="description">{{ row.description.value|decodedescription }}</div> <div class="decode-description" itemprop="description">{{ row.description.value|decodedescription }}</div>
{% endautoescape %} {% endautoescape %}
{% endfor %} {% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment