Simple typographer

Simple typographer

Replaces dangling prepositions, minuses with dashes

[[+text:nbsp]]
<?php $p1 = array(" — "," &mdash "," &minus "," а "," А "," в "," В "," все "," вул. "," де "," для "," до "," ж "," же "," з "," за "," За "," і "," І "," із "," її "," й "," м. "," на "," На "," не "," Не "," о "," по "," про "," Про "," р. "," та "," у "," У "," я "," Я "," як "); $p2 = array("&nbsp;&mdash; ","&nbsp;&mdash; ","&nbsp;&mdash; "," а&nbsp;"," А&nbsp;"," в&nbsp;"," В&nbsp;"," все&nbsp;"," вул.&nbsp;"," де&nbsp;"," для&nbsp;"," до&nbsp;"," ж&nbsp;"," же&nbsp;"," з&nbsp;"," за&nbsp;"," За&nbsp;"," і&nbsp;"," І&nbsp;"," із&nbsp;"," її&nbsp;"," й&nbsp;"," м.&nbsp;"," на&nbsp;"," На&nbsp;"," не&nbsp;"," Не&nbsp;"," о&nbsp;"," по&nbsp;"," про&nbsp;"," Про&nbsp;"," р.&nbsp;"," та&nbsp;"," у&nbsp;"," У&nbsp;"," я&nbsp;"," Я&nbsp;"," як&nbsp;"); return str_replace($p1, $p2, $input);
Fill out the brief and get an approximate development cost
Website Brief Logo brief Print brief