Some testing stuff

This commit is contained in:
Michael
2012-02-20 11:15:22 +01:00
parent 0fb22e1284
commit e2f276881e
2 changed files with 2 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ require_once('include/html2bbcode.php');
function diaspora2bb($s) {
// for testing purposes: Collect raw markdown articles
$file = tempnam("/tmp/", "markdown");
$file = tempnam("/tmp/friendica/", "markdown");
file_put_contents($file, $s);
$s = html_entity_decode($s,ENT_COMPAT,'UTF-8');