Skip to content

Commit

Permalink
note structure (currently?) insignificant to the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
retorquere committed Jun 8, 2015
1 parent fb0b7d7 commit af5b9e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions features/step_definitions/steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
require 'yaml'
require 'benchmark'
require 'shellwords'
require 'nokogiri'

if !OS.mac?
require 'headless'
Expand Down Expand Up @@ -260,6 +261,7 @@ def normalize(o)
item['itemID'] = i
item.delete('itemID')
item['attachments'].each{|a| a.delete('path')} if item['attachments']
item['note'] = Nokogiri::HTML(item['note']).inner_text.strip if item['note']
}
renum.call(library, newID, false)
library.normalize!
Expand Down

0 comments on commit af5b9e0

Please sign in to comment.