
<input id="hidden_filenames"
       type="hidden"
       name="hidden_filenames"
       value='<%= raw JSON.generate(@hidden_filenames) %>'>


<input id="hidden_filenames"
       type="hidden"
       name="hidden_filenames"
       value='<%= raw JSON.generate(@hidden_filenames) %>'>

<%# Note %>
<%# 1) The value attribute uses single quotes               %> 
<%# 2) The json contains double quotes                      %>
<%# 3) The @hidden_filenames must not contain single quotes %>

Add comment re single/double quotes on kata/edit hidden_filenames
Add comment re single/double quotes on kata/edit hidden_filenames
