• Resolved mathzf

    (@mathzf)


    I’ve discoverd a small problem in the code. The function singlePortfolioMeta creates a nested <ul> wich is not allowed, since only <li> is allowed as a direct child. This affects the availability score in google page speed.

    The solution is easy, just remove row 386: $html .= ‘<ul class=”single-item-meta”>’ and row 412: $html .= ‘</ul>’; in TLPPortfolioHelper.php. This will not only remove the nesting, but also fully remove the list if (and only if) the list is empty, wich also improves google page speed score.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Small syntactic error with Availability impacts’ is closed to new replies.