Skip to content

Commit

Permalink
Merge pull request #312 from alphagov/fix-schema-breadcrumbs
Browse files Browse the repository at this point in the history
Fix extra %> in the breadcrumbs component
  • Loading branch information
thomasleese authored May 15, 2018
2 parents 87e872f + 6bed0d7 commit bb8b12a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
},
"PLEK_SERVICE_RUMMAGER_URI": {
"value": "https://www.gov.uk/api"
},
"GOVUK_WEBSITE_ROOT": {
"value": "https://www.gov.uk"
}
},
"formation": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
inverse ||= false
collapse_class = collapse_on_mobile && breadcrumbs.any? { |crumb| crumb[:is_page_parent] } ? "gem-c-breadcrumbs--collapse-on-mobile" : ""
invert_class = inverse ? "gem-c-breadcrumbs--inverse" : ""
structured_data = GovukPublishingComponents::Presenters::Breadcrumbs.new(breadcrumbs, request.path).structured_data %>
structured_data = GovukPublishingComponents::Presenters::Breadcrumbs.new(breadcrumbs, request.path).structured_data
%>

<script type="application/ld+json">
Expand Down

0 comments on commit bb8b12a

Please sign in to comment.