Hi Jaspreet,
To fix the rule we need to identify it. I think you are talking about the rule Web:ItemTagNotWithinContainerTagCheck . Could you confirm?
If I understand correctly, you have some <li>
tags in list.html.erb
that are reported as issues. But the issues are false positives because the <li>
tags are at the root level in the list.html.erb
file, and the list.html.erb
file is correctly included in another file inside <ul>
tags. Could you confirm?