L
L
lavezzi12016-01-12 12:23:01
css
lavezzi1, 2016-01-12 12:23:01

Hanging prepositions in layout?

Hello. Are they removed in html layout? if yes, how are you doing?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Ukolov, 2016-01-12
@lavezzi1

В лесу.

A
Andrey Efimov, 2017-12-27
@efiand

If you are typing on PHP templates, then before outputting the layout to the browser or writing the code to a static file, you can do this:

$code = preg_replace('/( | |\(){1}([№а-яА-Я]){1}(\.){0,1} /u', '$1$2$3 ', $code);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question