karnov / htmltoword

Ruby html to word gem
MIT License
179 stars 71 forks source link

Add basic support for pre tag #32

Closed anitsirc closed 9 years ago

anitsirc commented 9 years ago

This PR adds basic support for the <pre> tag, so documents doesn't get corrupted when finding one of these.

It is transformed as a normal block container. Proper transformation of spacing elements might come later.