README.markdown in wbzyl-rack-htmltidy-0.0.6 vs README.markdown in wbzyl-rack-htmltidy-0.0.8
- old
+ new
@@ -10,11 +10,11 @@
The idea of using middleware to validate HTML belongs to
Marcin Kulik, [Rack middleware using HTML
Tidy](http://sickill.net/blog/2009/05/10/rack-middleware-using-html-tidy.html).
-**Limitations of [TidyLib](http://tidy.sourceforge.net/libintro.html)**:
+**Limitations** of [TidyLib](http://tidy.sourceforge.net/libintro.html):
Currently, all character encoding support is hard wired into the
library. This means we do a poor job of supporting many popular
encodings such as GB2312, euc-kr, eastern European languages,
cyrillic, etc. Any of these languages must first be transcoded into
ISO-10646/Unicode before Tidy can work with it.
@@ -42,11 +42,11 @@
*config/environment.rb* file:
require 'rack/htmltidy'
Rails::Initializer.run do |config|
- config.gem "rack-htmltidy"
+ config.gem "wbzyl-rack-htmltidy"
config.middleware.use(Rack::HTMLTidy,
:errors => true,
:diagnostics => true,
:path => "/usr/lib/libtidy-0.99.so.0")
end
@@ -58,13 +58,13 @@
Remember to update the `:path` option to the location of *TidyLib* on your system.
## Miscellaneous stuff
-To install *TidyLib* on Fedora 9 and above:
+1\. To install *TidyLib* on Fedora 9 and above:
yum install libtidy libtidy-devel
-To fix this bug: `tidybuf.rb:40: [BUG] Segmentation fault`,
+2\. To fix the bug: `tidybuf.rb:40: [BUG] Segmentation fault`,
clone, build and install the *tidy* gem from here:
git://github.com/ak47/tidy.git