Skip to content

Commit

Permalink
Merge pull request #156 from pkra/patch-2
Browse files Browse the repository at this point in the history
Fix #155
  • Loading branch information
Michael Aufreiter committed Apr 20, 2016
2 parents 40e05c3 + efffa9b commit be2e1bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion converter/lens_converter.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ NlmToLensConverter.Prototype = function() {

if (givenNamesEl) names.push(givenNamesEl.textContent);
if (surnameEl) names.push(surnameEl.textContent);
if (suffix) return [names.join(" "), suffix.textContent].join(", ");
if (suffix && !(suffix.textContent.trim() === "")) return [names.join(" "), suffix.textContent].join(", ");

return names.join(" ");
};
Expand Down

0 comments on commit be2e1bc

Please sign in to comment.