It's a really bad idea to add in JavaScript for hyphenation. Either the program being used supports hyphens or it doesn't. I don't know of any program that supports soft hyphens as well as the KF8 renderer on a Kindle. So I would not use soft hyphens with ePub.
ADE 2.0.1 on up supports hyphenation. So no need for any code to turn on hyphens if using ADE. I don't know of any program that needs code to turn on hyphens other then maybe the KePub renderer (on a Kobo).
|