Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Im fed up of finding weird characters in my HTML documents because the copy is written in a Word document.
Ruby
branch: master
Failed to load latest commit information.
lib Convert smart-apostrapes.
spec Convert smart-apostrapes.
.gitignore Build a Gem.
README Add installation instructions.
Rakefile Initial import.
word2html.gemspec Build a Gem.

README

Word2HTML
=========

I get sent copy in a Word document. If I just copy and paste I tend to 
end up with smart-quotes and such things all over the place. I'm not 
hugely for that. I want the HTML entities for these characters instead.


Installing
----------

It's available as a gem on Gemcutter. If you haven't used Gemcutter 
before, do this:

  gem install gemcutter
  gem tumble

Now install Word2HTML:

  gem install word2html


Usage
-----

  require 'word2html'
  Word2HTML.convert(text_from_word_document)


Authors
-------

Craig R Webster <http://barkingiguana.com/>
Something went wrong with that request. Please try again.