• After upgrading to YTSL 0.4 pagagraph closing </p> tags appear inside ytsl divs. Like this

    <div class="ytsl-title_grad">
        <div itemprop="name" class="ytsl-title_text">My funny video title</div>
        </p>
    </div>

    Tested with php 5.3 and 5.6.

    Hotfixed by putting on a single line (removed wraps) starting at line 175 of main plugin src $html == ... to $wrap_end at line 189 of original file

    https://www.ads-software.com/plugins/youtube-speedload/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author alexufo

    (@alexufo)

    i know this issue

    try $html = str_replace(array(“\r”, “\n”), ”, $html);
    at 191 line

    And there is no any affect on <p>(((

    Plugin Author alexufo

    (@alexufo)

    seems wpautop() bug, if html has link img or meta tag the wpautop() wrap it to <p>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Extra paragraph closings in ytsl blocks’ is closed to new replies.