Skip to content

Commit

Permalink
Merge pull request #3489 from manyfold3d/fix-regexp-errors
Browse files Browse the repository at this point in the history
Use simpler regexp output for file settings form
  • Loading branch information
Floppy authored Jan 27, 2025
2 parents 61f9305 + c01b7e0 commit 4f3aa9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/settings/_file_settings.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
</p>
<%= form.label nil, t(".custom_ignore_filters.label"), for: "files[model_ignored_files]", class: "col-sm-4 col-form-label" %>
<div class="col-sm-8 form-check form-switch">
<%= form.text_area "files[model_ignored_files]", value: SiteSettings.model_ignored_files.join("\n").gsub(/^\[|\]$/, ""), class: "form-control" %>
<%= form.text_area "files[model_ignored_files]", value: SiteSettings.model_ignored_files.map(&:inspect).join("\n").gsub(/^\[|\]$/, ""), class: "form-control" %>
</div>
</div>

0 comments on commit 4f3aa9e

Please sign in to comment.