Skip to content

Instantly share code, notes, and snippets.

@getsource
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save getsource/11197359 to your computer and use it in GitHub Desktop.
Save getsource/11197359 to your computer and use it in GitHub Desktop.
Test Copy-Paste Excel Table: See https://core.trac.wordpress.org/ticket/27909
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Microsoft Excel 14">
<link id=Main-File rel=Main-File
href="file://localhost/Users/mike/Library/Caches/TemporaryItems/msoclip/0/clip.htm">
<link rel=File-List
href="file://localhost/Users/mike/Library/Caches/TemporaryItems/msoclip/0/clip_filelist.xml">
<style>
<!--table
{mso-displayed-decimal-separator:"\.";
mso-displayed-thousand-separator:"\,";}
@page
{margin:.75in .7in .75in .7in;
mso-header-margin:.3in;
mso-footer-margin:.3in;}
td
{padding-top:1px;
padding-right:1px;
padding-left:1px;
mso-ignore:padding;
color:black;
font-size:11.0pt;
font-weight:400;
font-style:normal;
text-decoration:none;
font-family:Calibri, sans-serif;
mso-font-charset:0;
mso-number-format:General;
text-align:general;
vertical-align:bottom;
border:none;
mso-background-source:auto;
mso-pattern:auto;
mso-protection:locked visible;
white-space:nowrap;
mso-rotate:0;}
-->
</style>
</head>
<body link="#0563C1" vlink="#954F72">
<table border=0 cellpadding=0 cellspacing=0 width=212 style='border-collapse:
collapse;width:212pt'>
<!--StartFragment-->
<col width=53 span=4 style='width:53pt'>
<tr height=14 style='height:14.0pt'>
<td height=14 align=right width=53 style='height:14.0pt;width:53pt'>1</td>
<td align=right width=53 style='width:53pt'>5</td>
<td align=right width=53 style='width:53pt'>2</td>
<td align=right width=53 style='width:53pt'>5</td>
</tr>
<tr height=14 style='height:14.0pt'>
<td height=14 align=right style='height:14.0pt'>8</td>
<td align=right>2</td>
<td align=right>1</td>
<td align=right>3</td>
</tr>
<!--EndFragment-->
</table>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment