GHSVS-de / plg_system_hyphenateghsvs

Joomla plugin. Hyphenation for browsers that do NOT support CSS property hyphens (e.g. Chrome) or do not support languages you selected in this plugin.
0 stars 0 forks source link

Correct add_hypenate_css #36

Closed ReLater closed 5 years ago

ReLater commented 5 years ago

The devil knows why. We had a template of j51 (j51_robyn) where the old lines

$doc->addStyleDeclaration(file_get_contents(... css/hyphenate.css));

included the complete content of the file correctly in the HEAD of the template but always the first selector in the css file was ignored by the browser / inspector (Vivaldi, FireFox) like it wouldn't exist.

All works fine with Protostar and Joomla 3.9.3.

After 2h I'm giving up and use addCustomTag(...) now.