td下 使用<c:if判断 出现两个i标签

跪求大神指导

td下 使用 title="错误报告">


/c:if
td中这段代码 在浏览器中显示了两个i标签 这是什么啊 求大神指导

    <td width="9%"><a
                                        href="../city/query.html?interfaceId=${interfacesList.interfaceId}"
                                        title="详情"><i class="fa fa-folder-open fa-2x"></i></a> <a
                                        href="../city/update.html?interfaceId=${interfacesList.interfaceId}"
                                        title="修改"><i class="fa fa-pencil-square fa-2x"></i></a>
                                        <c:if test="${interfacesList.bugs>0}">
                                            <a href="../city/queryBugs.html?interfaceName=${interfacesList.interfaceName}&methodsName=${interfacesList.methodsName}&interfacePath=${interfacesList.interdacePath}"
                                            title="错误报告">
                                            <i class="fa fa-bug fa-2x">
                                            </a>
                                        </c:if>
                                        </td>

已找到答案,是我马虎了 i标签忘记结尾了

你把I 标签写在A标签外面试试呢、

第一个i标签是在你的C:if标签之前,也就是不管你怎么样做始终都会显示。
第二个i标签,当你C:if判断为True时,也会显示的。
所以出现两个i标签很正常吧?