diff --git a/lib/lib/process-html.js b/lib/lib/process-html.js index ee4ca73..b0f3b2e 100644 --- a/lib/lib/process-html.js +++ b/lib/lib/process-html.js @@ -60,10 +60,15 @@ function createTranslationItem (html) { var toType = $('.ToWrd em').text() $('.ToWrd em').remove() var to = $('.ToWrd').text() + var [fromSense, toSense] = $('.FrWrd')[0].nextSibling.children + fromSense = $(fromSense).text().trim() + toSense = $(toSense).text().trim() return { from, fromType, + fromSense, toType, + toSense, to, example: { from: [],