Created
January 11, 2012 10:52
-
-
Save splitbrain/1594144 to your computer and use it in GitHub Desktop.
mpdf backslash bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$html = ' | |
<p>Here should be one: \\ and here should be two \\\\</p> | |
<pre>Here should be one: \\ and here should be two \\\\</pre> | |
'; | |
include("MPDF53/mpdf.php"); | |
$mpdf=new mPDF(); | |
$mpdf->WriteHTML($html); | |
$mpdf->Output(); | |
exit; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment