summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO3
-rwxr-xr-xsimplyread.js2
2 files changed, 1 insertions, 4 deletions
diff --git a/TODO b/TODO
index 9a53ca2..57a1765 100644
--- a/TODO
+++ b/TODO
@@ -1,6 +1,3 @@
-core:
- it would be nice to do hyphenation. http://code.google.com/p/hyphenator/ is nice, but heavyish (around 2000 LOC). most of that is just unneeded config options etc, though, the core looks reasonable; see hyphenate and hyphenateWord functions. note that it's lgpl.
-
gecko:
test with firefox 4.0, and update version info
http://blog.mozilla.com/addons/2010/11/11/making-add-on-compatible-firefox-4/
diff --git a/simplyread.js b/simplyread.js
index d841e0a..4aa85c8 100755
--- a/simplyread.js
+++ b/simplyread.js
@@ -65,7 +65,7 @@ function simplyread()
doc.body.innerHTML =
"<div style=\"width:38em; margin:auto;" +
" text-align:justify; font-family:sans;" +
- " text-rendering:optimizeLegibility;\">" +
+ " text-rendering:optimizeLegibility; hyphens:auto;\">" +
"<h1 style=\"text-align: center\">"+doc.title+"</h1>" +
fresh.innerHTML + "</div>";