D
D
Dmitry2020-03-21 07:23:42
DLE
Dmitry, 2020-03-21 07:23:42

Declination is displayed incorrectly, where is the error?

Good day!
Maybe someone has come across or knows the cause of the problem.
DLE engine latest version.
I noticed such a thing, when there are more than 2 declinations on the page, some kind of magic begins with correctness.
I can’t understand what the reason is, help me figure it out, otherwise I don’t have the strength anymore ...
I display several declensions on the page, and now the incomprehensible began.

<div class="author_post_iner">
        <span class="h4 text_uppercase nobold">Время приготовления</span>
        <div class="info_im ultrabold">
          <b>[xfvalue_time_hour] [declination=[xfvalue_time_hour]]час|а|ов[/declination]</b>
          <b>[xfvalue_time_minut]</b>
          [xfnotgiven_time_minut]<b>00</b>[/xfnotgiven_time_minut] минут
        </div>
      </div>
      <div class="author_post_iner">
        <span class="h4 text_uppercase nobold">Количество ингредиентов</span>
        <div class="info_im ultrabold">
        [xfvalue_kol_produkt] [declination=[xfvalue_kol_produkt]]ингредиент|а|ов[/declination]
      </div>
      </div>
      <div class="author_post_iner">
        <span class="h4 text_uppercase nobold">Количество этапов</span>
        <div class="info_im ultrabold"><b class="shagi_nummer"></b> 
                                  [declination=<b class="shagi_nummer"></b>]шаг|а|ов[/declination]
        </div>
      </div>

I get this thing on the page:
5e7596b375a20049161809.png
How to solve?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question