Maybe not working with html heading tags?
Lennso opened this issue · comments
Lennso commented
See this first: nystudio107/craft-typogrify#78
I use typogrify plugin for craft which uses php-typography:
{{ entry.editor | typogrify }}
My typogrify.php config:
"set_hyphenation" => true,
"set_hyphenate_headings" => true
My (german-text) html output:
<div>
<h6>Krank werden kann Jede:r</h6>
<h2>Warum brauche ich eine private Krankentagegeldversicherung?</h2>
<p>Die Krankentagegeld­versicherung schützt Sie gegen den Verdienstausfall bei Arbeits­unfähigkeit, soweit diese auf einer Krankheit oder einem Unfall beruht. Die Versicherung zahlt ab vereinbartem </p>
</div>
Hyphenation for my p-element is working, but not for the headings. Could it have something to do with this package?
Der Mundschenk & Compagnie commented
I'd need your full configuration to be sure, but most likely you have either enabled dewidowing or are skipping the contents of <h1>
and <h2>
.
Der Mundschenk & Compagnie commented
Is this still relevant, @Lennso?
Der Mundschenk & Compagnie commented
Apparently not.