Exclude body css

10 views
Skip to first unread message

psgym...@gmail.com

unread,
Nov 6, 2014, 6:17:43 AM11/6/14
to hyphen...@googlegroups.com
Hi!

First thanks for an excellent script. very nice when creating responsive sites since Android and Chrome lacks support for CSS3 hyphens.

However, I've noticed that when you place blocks of css styles inside the body tag the css-code gets hyphenated. As a workaround you can place a class donthyphenate in the style tag but this breaks the html validation of the page. Is there another way to solve this? I know it's not a great idea to have css code in the body tag but this is php include files.


Best regards from Sweden,

Jonas

Mathias

unread,
Nov 7, 2014, 10:04:42 AM11/7/14
to hyphen...@googlegroups.com
Hi

The content of css style tags shouldn't get hyphenated as Hyphenator.js excludes style-tags from being hyphenated.
What version of Hyphenator.js do you use?

psgym...@gmail.com

unread,
Nov 10, 2014, 3:29:31 AM11/10/14
to hyphen...@googlegroups.com
Hi!

I upgraded to latest version and it seemed to solve the problem. Thanks a lot!

Jonas M
Reply all
Reply to author
Forward
0 new messages