jasondavies / d3-cloud

Create word clouds in JavaScript.
https://www.jasondavies.com/wordcloud/
Other
3.82k stars 1.07k forks source link

Word Cloud Generator eats hyphen and other punctuation symbols from text line #117

Closed MurzNN closed 7 years ago

MurzNN commented 7 years ago

If I select "One word per line" - it eats hyphen and most of punctuation symbols of http://i.imgur.com/hTD3FZp.png Text is

Test-1 string
Test--2
Test:3
Test/4
Test+5
Test - long -- string
Test.dot
Test,test2

How we can fix this problem?

jasondavies commented 7 years ago

Thanks for the report. I’ve turned off punctuation removal when "one word per line" is selected.