Method: ExportChapterPdf#normalize_notes_array
- Defined in:
- lib/uktt/export_chapter_pdf.rb
#normalize_notes_array(arr) ⇒ Object
1141 1142 1143 1144 1145 1146 1147 1148 |
# File 'lib/uktt/export_chapter_pdf.rb', line 1141 def normalize_notes_array(arr) arr.each_with_index do |str, i| if str == Prawn::Text::NBSP && i.odd? arr.delete_at(i) normalize_notes_array(arr) end end end |