md problem

This commit is contained in:
stitz 2020-02-13 10:58:43 +01:00
parent fb9b2cc6e2
commit f84d69055c

View File

@ -1,6 +1,7 @@
<?php
// TODO markdown imple
function md($str) {
return nl2br ( $str ); // TODO md problem
$text = '';
$lv = 0;
foreach ( explode ( "\n", $str ) as $t ) {