Skip to content

Instantly share code, notes, and snippets.

@troyhunt
Created August 5, 2023 06:31
Show Gist options
  • Save troyhunt/ec2167141e5f3e0c4f0e1aa5a790f542 to your computer and use it in GitHub Desktop.
Save troyhunt/ec2167141e5f3e0c4f0e1aa5a790f542 to your computer and use it in GitHub Desktop.
Word to HTML is an abomination
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Univers 45 Light";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin-top:6.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:0cm;
text-align:justify;
line-height:120%;
punctuation-wrap:simple;
text-autospace:none;
font-size:9.0pt;
font-family:"Univers 45 Light";}
p.MsoHeader, li.MsoHeader, div.MsoHeader
{mso-style-link:"Header Char";
margin:0cm;
text-align:right;
line-height:120%;
punctuation-wrap:simple;
text-autospace:none;
font-size:8.0pt;
font-family:"Univers 45 Light";
font-style:italic;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{margin-top:0cm;
margin-right:0cm;
margin-bottom:8.0pt;
margin-left:36.0pt;
line-height:107%;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
{margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
line-height:107%;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
{margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
line-height:107%;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
{margin-top:0cm;
margin-right:0cm;
margin-bottom:8.0pt;
margin-left:36.0pt;
line-height:107%;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.HeaderChar
{mso-style-name:"Header Char";
mso-style-link:Header;
font-family:"Univers 45 Light";
font-style:italic;}
p.Body2, li.Body2, div.Body2
{mso-style-name:"Body 2";
mso-style-link:"Body 2 Char";
margin-top:6.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:35.45pt;
text-align:justify;
line-height:120%;
punctuation-wrap:simple;
text-autospace:none;
font-size:9.0pt;
font-family:"Univers 45 Light";}
span.Body2Char
{mso-style-name:"Body 2 Char";
mso-style-link:"Body 2";
font-family:"Univers 45 Light";}
p.Body1, li.Body1, div.Body1
{mso-style-name:"Body 1";
mso-style-link:"Body 1 Char";
margin-top:6.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:0cm;
text-align:justify;
line-height:120%;
punctuation-wrap:simple;
text-autospace:none;
font-size:9.0pt;
font-family:"Univers 45 Light";}
span.Body1Char
{mso-style-name:"Body 1 Char";
mso-style-link:"Body 1";
font-family:"Univers 45 Light";}
p.SchTitle, li.SchTitle, div.SchTitle
{mso-style-name:SchTitle;
mso-style-link:"SchTitle Char";
margin-top:6.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:0cm;
text-align:center;
line-height:120%;
punctuation-wrap:simple;
text-autospace:none;
font-size:9.0pt;
font-family:"Univers 45 Light";
text-transform:uppercase;
font-weight:bold;}
span.SchTitleChar
{mso-style-name:"SchTitle Char";
mso-style-link:SchTitle;
font-family:"Univers 45 Light";
text-transform:uppercase;
font-weight:bold;}
p.Heading1, li.Heading1, div.Heading1
{mso-style-name:"Heading 1\.";
margin-top:6.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:35.45pt;
text-align:justify;
text-indent:-35.45pt;
line-height:120%;
page-break-after:avoid;
text-autospace:none;
font-size:9.0pt;
font-family:"Univers 45 Light";
text-transform:uppercase;
font-weight:bold;}
p.Level2, li.Level2, div.Level2
{mso-style-name:"Level 2";
margin-top:6.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:35.45pt;
text-align:justify;
text-indent:-35.45pt;
line-height:120%;
text-autospace:none;
font-size:9.0pt;
font-family:"Univers 45 Light";}
p.Level3, li.Level3, div.Level3
{mso-style-name:"Level 3";
margin-top:6.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:70.9pt;
text-align:justify;
text-indent:-35.45pt;
line-height:120%;
text-autospace:none;
font-size:9.0pt;
font-family:"Univers 45 Light";}
p.Level4, li.Level4, div.Level4
{mso-style-name:"Level 4";
margin-top:6.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:106.3pt;
text-align:justify;
text-indent:-35.4pt;
line-height:120%;
text-autospace:none;
font-size:9.0pt;
font-family:"Univers 45 Light";}
p.Level5, li.Level5, div.Level5
{mso-style-name:"Level 5";
margin-top:6.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:5.0cm;
text-align:justify;
text-indent:-35.45pt;
line-height:120%;
text-autospace:none;
font-size:9.0pt;
font-family:"Univers 45 Light";}
p.Level6, li.Level6, div.Level6
{mso-style-name:"Level 6";
margin-top:6.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:177.2pt;
text-align:justify;
text-indent:-35.45pt;
line-height:120%;
text-autospace:none;
font-size:9.0pt;
font-family:"Univers 45 Light";}
p.Level7, li.Level7, div.Level7
{mso-style-name:"Level 7";
margin-top:6.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:212.65pt;
text-align:justify;
text-indent:-35.45pt;
line-height:120%;
text-autospace:none;
font-size:9.0pt;
font-family:"Univers 45 Light";}
p.Level8, li.Level8, div.Level8
{mso-style-name:"Level 8";
margin-top:6.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:0cm;
text-align:justify;
text-indent:0cm;
line-height:120%;
text-autospace:none;
font-size:9.0pt;
font-family:"Univers 45 Light";}
.MsoChpDefault
{font-family:"Calibri",sans-serif;}
.MsoPapDefault
{margin-bottom:8.0pt;
line-height:107%;}
/* Page Definitions */
@page WordSection1
{size:21.0cm 842.0pt;
margin:42.55pt 42.55pt 42.55pt 42.55pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
-->
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment