[27544] Avoid self-closing tag on html5 custom element

https://community.openproject.com/wp/27544
pull/6276/head
Oliver Günther 7 years ago
parent 8f08dbf3b3
commit 5cab6be8b0
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 4
      app/views/projects/form/_project_attributes.html.erb
  2. 2
      lib/open_project/text_formatting/formatters/markdown/helper.rb

@ -62,7 +62,7 @@ See docs/COPYRIGHT.rdoc for more details.
<% end %>
<% unless form.object.errors[:identifier].blank? %>
<script type="text/javascript">
<%= nonced_javascript_tag do %>
jQuery('#advanced-settings > .advanced-settings-inner').show();
</script>
<% end %>
<% end %>

@ -39,7 +39,7 @@ module OpenProject::TextFormatting::Formatters
end
def wikitoolbar_for(field_id)
tag 'op-ckeditor-form', 'textarea-selector': "##{field_id}"
content_tag 'op-ckeditor-form', '', 'textarea-selector': "##{field_id}"
end
def initial_page_content(_page)

Loading…
Cancel
Save