changed templates to use script tag rather than div tag and that way browsers don't try and read them as html
This commit is contained in:
parent
f62107ba43
commit
53544e05a9
1 changed files with 8 additions and 8 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
<div class="templates">
|
||||
|
||||
<div class="topicTemplate">
|
||||
<script type="text/template" class="topicTemplate">
|
||||
<div class="result{{rtype}}">
|
||||
<div class="topicMetacode">
|
||||
<img src="{{typeImageURL}}" class="topicIcon" />
|
||||
|
@ -42,9 +42,9 @@
|
|||
</div>
|
||||
<div class="clearfloat"></div>
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<div class="mapTemplate">
|
||||
<script type="text/template" class="mapTemplate">
|
||||
<div class="result{{rtype}}">
|
||||
<img class="icon" src="/assets/map.png">
|
||||
<div class="resultText">
|
||||
|
@ -73,9 +73,9 @@
|
|||
</div>
|
||||
<div class="clearfloat"></div>
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<div class="mapperTemplate">
|
||||
<script type="text/template" class="mapperTemplate">
|
||||
<div class="result{{rtype}}">
|
||||
<img class="icon" width="28" height="28" src="/assets/MMCCicon_mapper.png">
|
||||
<div class="resultText">
|
||||
|
@ -92,9 +92,9 @@
|
|||
</div>
|
||||
<div class="clearfloat"></div>
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<div class="synapseTemplate">
|
||||
<script type="text/template" class="synapseTemplate">
|
||||
<div class="result{{rtype}}">
|
||||
<p class="autocompleteSection synapseDesc">{{label}}</p>
|
||||
<div class="autocompleteSection synapsePermission {{permission}}"></div>
|
||||
|
@ -103,6 +103,6 @@
|
|||
</div>
|
||||
<div class="clearfloat"></div>
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
</div>
|
Loading…
Reference in a new issue