karnov / htmltoword

Ruby html to word gem
MIT License
177 stars 70 forks source link

Space inside elements #58

Open arthurnobrega opened 7 years ago

arthurnobrega commented 7 years ago

If I convert the HTML bellow, I get two blank lines between __ and the user name:

___________________________________
<%= @user.name %>

I think the problem is that the gem doesn't remove the "\n" from the HTML file.

lukelex commented 6 years ago

@arthurnobrega can you provide a reproducible example, ideally a test case?