diff --git a/app/views/admin/education/diplomas/_programs.html.erb b/app/views/admin/education/diplomas/_programs.html.erb
index 45c74bd2cbea1feb291dd7e1cdea7371008537c8..4c09f0ee6702c4d6147a85be83561e01be08aeb4 100644
--- a/app/views/admin/education/diplomas/_programs.html.erb
+++ b/app/views/admin/education/diplomas/_programs.html.erb
@@ -4,8 +4,7 @@ indentation = ' ' * depth
 <% programs.each do |program| %>
 <%= indentation %>- label: >
 <%= indentation %>    <%= program.to_s %>
-<%= indentation %>  path: >
-<%= indentation %>    <%= program.current_permalink_in_website(@website)&.path %>
+<%= indentation %>  path: "<%= program.current_permalink_in_website(@website)&.path %>"
 <% children = program.children.ordered %>
 <% if children.any? %>
 <%= indentation %>  children: