随机 "i" 字符出现在 header of large HTML table

Random "i" character appears in header of large HTML table

我的旧网站页面上有一个很大的 HTML table。一旦 table 增长到一定大小(几个月前),一个随机的 "i" 出现在 table 的 header 中(见下文)。

"i" 在原始来源 HTML 中无处可寻(见下文)。它仅在 HTML 从 IIS 传输并在浏览器中呈现时出现。 Chrome 和 Edge 都显示该字符,因此它似乎不是特定浏览器的问题。

<header>
    <h2>Past</h2>
</header>
    <table>
        <tr>
            <th>Date</th>
            <th>Topic</th>
            <th>Event</th>
            <th>Location</th>
        </tr>
        <tr>
            <td>2018-01-10</td>
            <td><a href="#clean-architecture">Clean Architecture</a></td>
            <td><a href="http://www.codemash.org/" target="blank">CodeMash</a></td>
            <td>Sandusky, OH</td>
        </tr>
        <tr>
            <td>2018-01-10</td>
            <td><a href="#artificial-intelligence">Machine Learning: Lightning Talk</a></td>
            <td><a href="http://www.codemash.org/" target="blank">CodeMash</a></td>
            <td>Sandusky, OH</td>
        </tr>
        <tr>
            <td>2018-01-09</td>
            <td><a href="#practical-machine-learning-with-r">Practical Machine Learning with R</a></td>
            <td><a href="http://www.codemash.org/" target="blank">CodeMash</a></td>
            <td>Sandusky, OH</td>
        </tr>     

此外,在 Visual Studio 中,如果我单击 "View in Browser (Google Chrome)" 上下文菜单选项,页面呈现时没有 "i"。因此,这似乎只是在 IIS Express(调试时)或 Azure(生产中)中托管网站时的问题。

如果我缩小 table 的大小(通过删除一堆行),"i" 就会消失。当我添加行时,"i" returns.

该网站只是 Visual Studio 2012 "Web Site Project" 中的静态 HTML 页面(而不是 "Web App Project")。我目前正在使用 VS 2017 构建并将其部署到 Azure。它配置为使用 .NET Framework 4.5。

您可以在此处找到源 HTML 文件:https://github.com/matthewrenze/matthewrenze.com/blob/master/Presentations.html

您可以在此处看到带有随机 "i" 字符的渲染 HTML: http://www.matthewrenze.com/presentations.html

"i" 出现在 "Past" 演示文稿 header 的正下方 table。

如果您对可能导致此问题的原因有任何想法,请告诉我。

谢谢!

马修

我明白了。 :D

它只是一个 "typo" 在你的 HTML,看看 line 422 你有 i 放在 table 标记之间:<tr>i.