Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request mozilla#621 from cmcavoy/583-quotes-break-everything
fixes mozilla#583 hotfix to production
  • Loading branch information
brianloveswords committed Feb 25, 2013
2 parents 6950f6d + 99a82eb commit 66f1ea6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion controllers/demo.js
Expand Up @@ -89,7 +89,7 @@ function makeDemoAssertion(email, image, title, description) {
badge: {
version: 'v0.5.0',
name: 'DEMO: ' + (title || 'Open Badges Demo Badge'),
description: description || "For rocking in the free world",
description: description || 'For rocking in the "free world"',
image: image,
criteria: '/demo/criteria',
issuer: {
Expand Down
4 changes: 2 additions & 2 deletions views/backpack.html
Expand Up @@ -26,7 +26,7 @@ <h1>No badges. Better get out there and start earning some!</h1>
<h1><span data-title="Badges" data-content="These are the badges you've earned so far! Click on one to see its details." rel="popover">Badges{% if tooltips %}<i class="icon-info-sign"></i>{% endif %}</span></h1>
<div id="badges" class="js-badges">
{% for badge in badges %}
<span draggable="true" class="openbadge" data-id="{{badge.attributes.id}}" rel="popinfo" data-title="{{badge.attributes.body.badge.name}}" data-content="<span>{{badge.attributes.body.badge.description}}</span><span>Issuer: {{badge.attributes.body.badge.issuer.name}}</span>">
<span draggable="true" class="openbadge" data-id="{{badge.attributes.id}}" rel="popinfo" data-title="{{badge.attributes.body.badge.name|escape}}" data-content="<span>{{badge.attributes.body.badge.description|escape}}</span><span>Issuer: {{badge.attributes.body.badge.issuer.name|escape}}</span>">
<img src="{{badge.attributes.image_path}}" width="64px"/>
</span>
{% endfor %}
Expand Down Expand Up @@ -67,7 +67,7 @@ <h1><span rel="popover" data-title="Groups" data-content="You can drag-and-drop
</span>

{% for badge in group.attributes.badgeObjects %}
<span draggable="true" class="openbadge" data-id="{{badge.attributes.id}}" rel="popinfo" data-title="{{badge.attributes.body.badge.name}}" data-content="<span>{{badge.attributes.body.badge.description}}</span><span>Issuer: {{badge.attributes.body.badge.issuer.name}}</span>">
<span draggable="true" class="openbadge" data-id="{{badge.attributes.id}}" rel="popinfo" data-title="{{badge.attributes.body.badge.name|escape}}" data-content="<span>{{badge.attributes.body.badge.description|escape}}</span><span>Issuer: {{badge.attributes.body.badge.issuer.name|escape}}</span>">
<img src="{{badge.attributes.image_path}}" width="64px"/>
</span>
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion views/badges_partial.html
@@ -1,3 +1,3 @@
<span draggable="true" class="openbadge" data-id="{{id}}" rel="popinfo" data-title="{{body.badge.name}}" data-content="<span>{{body.badge.description}}</span><span>Issuer: {{body.badge.issuer.name}}</span>">
<span draggable="true" class="openbadge" data-id="{{id}}" rel="popinfo" data-title="{{body.badge.name|escape}}" data-content="<span>{{body.badge.description|escape}}</span><span>Issuer: {{body.badge.issuer.name|escape}}</span>">
<img src="{{image_path}}" width="64px"/>
</span>

0 comments on commit 66f1ea6

Please sign in to comment.