L
L
Light7772015-07-09 06:42:44
MODX
Light777, 2015-07-09 06:42:44

How to remove "pre" tags when using getResources in MODX REVO?

Hello! Made a normal output of the list of news using GetResources. But it turns into a tag and the layout flies. I don't understand how to remove it. Has anyone come across? this chunk is folded into pre<pre>

<div class="col-md-4 news-grid">
            <div class="news-grid-text">
              <h4></h4>
              <span>2022-05-18 11:53:00</span>
            </div>
            <img src="" class="img-responsive" alt="" />
            <p></p>
            <div class="read-more blue">
              <a href="">Read More &gt;&gt;</a>
            </div>
          </div>

this gray area is pre
3ec38468327741a6aa2dfcefba886c32.JPG

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Salnikov, 2015-07-09
@Shshzik

Very strange. It never turns into something like this for me. I can suggest a small alternative to getResources. pdoTools is in the repository. There is pdoResources. I can also throw off completely Russian documentation (our people did this plugin)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question