Skip to content

Instantly share code, notes, and snippets.

@othree
Created September 26, 2010 06:45
Show Gist options
  • Save othree/597664 to your computer and use it in GitHub Desktop.
Save othree/597664 to your computer and use it in GitHub Desktop.
Hello.
I found Readability is very useful but not work on my blog.
So I spent some time to trace the problem.
Maybe you can fix this problems in next release.
1. Blank Page: I use google chrome and so a blank page on my blog (using html5 doctype).
ex: http://blog.othree.net/log/2010/08/02/javascript-best-practice-1/
It is because the code within line 335-347. There are some entities used in innerHTML.
Which is not allowed in some doctypes.
There are only three safe entities & , $lt; and $gt; .
Remove all entities in this section. The content shows up.
2. For some unknown reason. #readInner is rendered as inline element.
It should be a block element.
Just add 'display: block' setting for #readInner will fix this problem.
The fixed version is in the following link:
http://orz.othree.net/test/read/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment