Removed the export of markdown articles. That was for testing purposes only.
This commit is contained in:
parent
3c6b127d40
commit
9f92bbb04c
|
@ -14,8 +14,8 @@ require_once('include/html2bbcode.php');
|
||||||
function diaspora2bb($s) {
|
function diaspora2bb($s) {
|
||||||
|
|
||||||
// for testing purposes: Collect raw markdown articles
|
// for testing purposes: Collect raw markdown articles
|
||||||
$file = tempnam("/tmp/friendica/", "markdown");
|
// $file = tempnam("/tmp/friendica/", "markdown");
|
||||||
file_put_contents($file, $s);
|
// file_put_contents($file, $s);
|
||||||
|
|
||||||
$s = html_entity_decode($s,ENT_COMPAT,'UTF-8');
|
$s = html_entity_decode($s,ENT_COMPAT,'UTF-8');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user