Regex Bux Fix
-
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 = ‘ ‘; <– note the space
On line 141 of ra-widgets-animate.php. 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 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Regex Bux Fix’ is closed to new replies.