         let character: Int = location.character ?? 0
         return [
             "\t\t\t\t<tr>\n",
-            "\t\t\t\t\t<td align=\"right\">\(index)</td>\n",
+            "\t\t\t\t\t<td style=\"text-align: right;\">\(index)</td>\n",
             "\t\t\t\t\t<td>", file, "</td>\n",
-            "\t\t\t\t\t<td align=\"center\">\(line):\(character)</td>\n",
-            "\t\t\t\t\t<td class=\'", severity.lowercased(), "\'>", severity, "</td>\n",
+            "\t\t\t\t\t<td style=\"text-align: center;\">\(line):\(character)</td>\n",
+            "\t\t\t\t\t<td class=\"", severity.lowercased(), "\">", severity, "</td>\n",
             "\t\t\t\t\t<td>\(violation.reason.escapedForXML())</td>\n",
             "\t\t\t\t</tr>\n"
         ].joined()

            "\t\t\t\t</tr>\n",
            "\t\t\t</tbody>\n",
            "\t\t</table>\n",
            "\t\t<hr />\n",
            "\t\t<p>Created with <a href=\"https://github.com/realm/SwiftLint\">\n",
            "\t\t\t<b>Swiftlint</b>\n",
            "\t\t</a> ", swiftlintVersion, " on: ", dateString, "</p>\n",
            "\t</body>\n",
            "</html>"
        ].joined()

            "\t\t\t</thead>\n",
            "\t\t\t<tbody>\n", rows, "\t\t\t</tbody>\n",
            "\t\t</table>\n",
            "\t\t\n",
            "\t\t<br/>\n",
            "\t\t\n",
            "\t\t<h2>Summary</h2>\n",
            "\t\t\n",
            "\t\t<table>\n",
            "\t\t\t<tbody>\n",
            "\t\t\t\t<tr>\n",
            "\t\t\t\t\t<td>Total files with violations</td>\n",
