Unsuccesfully trying hyphenate text in Sencha panels

42 views Asked by At

I'm working on an ebook that has its pages spread in panels in Sencha Touch 2 and having a bad time trying to hyphenate the paragraphs in the panels. I've tried Hyphenator.js and CSS3 hyphenation without any luck. Same code in html outside the Sencha framework hyphenates successfully. Any clues? Thanks for your help.

1

There are 1 answers

0
Rica Soares On

Actually, Hyphenator.js works fine inside the Sencha panels. The problem was that the LANG tag in the head section of my index.html was not set in the same languages of the hyphenator script I was linking. Once I resolved that problem, words in the panel html got hyphenated.