Open seanblue opened 9 years ago
Nice catch! I'll make a note of this and try to get this fixed soon. Optionally, if you have a pull request ready, I can take a look at it.
Thanks!
On Thu, Aug 6, 2015 at 5:43 PM, seanblue notifications@github.com wrote:
Unfortunately there is no separation of titles within a section (such as "synonyms") by DOM element, so it's not possible to differentiate between commas as part of the title and commas used as a separator.
However, for the English title there is only expected to be one title. Therefore, this issue could be fixed for just the English title by not splitting the text by comma and just returning a single-element array.
Reply to this email directly or view it on GitHub: https://github.com/croberts22/umalapi/issues/14
Unfortunately there is no separation of titles within a section (such as "synonyms") by DOM element, so it's not possible to differentiate between commas as part of the title and commas used as a separator.
However, for the English title there is only expected to be one title. Therefore, this issue could be fixed for just the English title by not splitting the text by comma and just returning a single-element array.