mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-04 11:49:58 +00:00
Update HTML export to use HTML 5
There's no need to use XHTML Transitional. The only change outside the template was to use "id" for anchors instead of "name", as the latter is deprecated.
This commit is contained in:
parent
33ccdd91eb
commit
3bda6df786
@ -673,7 +673,7 @@ namespace SourceGen {
|
|||||||
string trimLabel = Symbol.TrimAndValidateLabel(parts.Label,
|
string trimLabel = Symbol.TrimAndValidateLabel(parts.Label,
|
||||||
mFormatter.NonUniqueLabelPrefix, out bool isValid, out bool unused1,
|
mFormatter.NonUniqueLabelPrefix, out bool isValid, out bool unused1,
|
||||||
out bool unused2, out bool unused3, out Symbol.LabelAnnotation unusedAnno);
|
out bool unused2, out bool unused3, out Symbol.LabelAnnotation unusedAnno);
|
||||||
anchorLabel = "<a name=\"" + LABEL_LINK_PREFIX + trimLabel +
|
anchorLabel = "<a id=\"" + LABEL_LINK_PREFIX + trimLabel +
|
||||||
"\">" + parts.Label + "</a>";
|
"\">" + parts.Label + "</a>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
<title>$ProjectName$ Disassembly</title>
|
<title>$ProjectName$ Disassembly</title>
|
||||||
|
|
||||||
<meta content="en-us" http-equiv="Content-Language" />
|
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
|
||||||
<meta name="description" content="SourceGen-generated disassembly of $ProjectName$" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
|
<meta name="description" content="SourceGen-generated disassembly of $ProjectName$"/>
|
||||||
|
|
||||||
<link href="SGStyle.css" rel="stylesheet" type="text/css" />
|
<link rel="stylesheet" href="SGStyle.css"/>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<p style="font-size:smaller;"><a href="./">(back to project page)</a></p>
|
<p style="font-size:smaller;"><a href="./">(back to project page)</a></p>
|
||||||
<h1>$ProjectName$ Disassembly</h1>
|
<h1>$ProjectName$ Disassembly</h1>
|
||||||
|
|
||||||
@ -34,5 +34,6 @@ $SymbolTable$
|
|||||||
<p>Expression style: $ExpressionStyle$</p>
|
<p>Expression style: $ExpressionStyle$</p>
|
||||||
<!-- parameters: $GenParameters$ -->
|
<!-- parameters: $GenParameters$ -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user