• Resolved nablafire

    (@nablafire)


    I noticed the following minor problem with the plugin. In the case of an empty div with no class attribute, I get the following HTML output …

    <divdata-aos=”fade-right” data-aos-duration=”1500″>
    </divdata-aos=”fade-right”>

    It seems that the Regex Parser is missing something here when inserting the AOS div. Note that there is no space between “<div” and “data-aos”. However, there is a workaround … by changing

    $attr = ”; —–> $attr = ‘ ‘;

    On line 141 of ra-widgets-animate. After this I get nice HTML output and the plugin works great.

    <div data-aos=”fade-right” data-aos-duration=”1500″ class=”aos-init aos-animate”></div>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Regex Bux Fix’ is closed to new replies.