Skip to content

Instantly share code, notes, and snippets.

@brenoferreira
Created March 31, 2015 17:30
Show Gist options
  • Save brenoferreira/9f0619497f2d38a7cc1a to your computer and use it in GitHub Desktop.
Save brenoferreira/9f0619497f2d38a7cc1a to your computer and use it in GitHub Desktop.
wkhtmltopdf js bug reproduction
<html>
<head>
<title>PDF</title>
<meta charset="UTF-8"/>
</head>
<body>
<div id="content">
</div>
</body>
<script src="http://fb.me/react-0.13.1.js" type="text/javascript"></script>
<script type="text/javascript">
React.render(
React.createElement("div", null,
React.createElement("h1", null, "Test")),
document.getElementById("content"));
</script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment