Skip to content

Commit 67c2333

Browse files
committed
Doxycommentview html corrections
correcting the index.html of doxycommentview - make `meta` tag correct - the `<` inside the script is not HTML complient unless in a `CDATA section - making startup tags consistent with "normal" doxygen output and xhtml
1 parent c110208 commit 67c2333

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

addon/doxycommentview/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<!DOCTYPE html>
2-
<html lang="en">
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
33
<head>
4-
<meta charset="UTF-8">
4+
<meta charset="UTF-8"/>
55
<title>Doxygen comment viewer</title>
66
<link rel="stylesheet" type="text/css" href="/doxygen.css"/>
77
<style>
@@ -77,6 +77,7 @@
7777
</div>
7878
</div>
7979
<script>
80+
//<![CDATA[
8081
function updateLineNumbers() {
8182
const textarea = document.getElementById('input');
8283
const lineNumbers = document.getElementById('line-numbers');
@@ -127,6 +128,7 @@
127128
// Initial line numbers update
128129
updateLineNumbers();
129130
};
131+
//]]>
130132
</script>
131133
</body>
132134
</html>

0 commit comments

Comments
 (0)