mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-13 08:34:49 +08:00
Strip tags for table's content
This commit is contained in:
parent
be77746aef
commit
10639deb97
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ module ProtocolImporters
|
|||
|
||||
rows_nodeset.each_with_index do |row, i|
|
||||
row.css('td').each_with_index do |cell, j|
|
||||
two_d_array[i][j] = cell.inner_html
|
||||
two_d_array[i][j] = ActionController::Base.helpers.strip_tags(cell.inner_html)
|
||||
end
|
||||
two_d_array[i].shift if remove_first_column_row
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue