mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
properly escape crazy characters in tags
This commit is contained in:
parent
6e2c96bc2a
commit
075300028f
@ -60,7 +60,7 @@
|
||||
},
|
||||
data: [
|
||||
<% page.page_tags.pluck(:tag).each do |tag| %>
|
||||
{tag: '<%= tag %>'},
|
||||
{tag: "<%= tag.gsub('"', '\"').html_safe %>"},
|
||||
<% end %>
|
||||
],
|
||||
onChipAdd: update_hidden_page_tag_value,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user