md problem
This commit is contained in:
parent
fb9b2cc6e2
commit
f84d69055c
@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
// TODO markdown imple
|
// TODO markdown imple
|
||||||
function md($str) {
|
function md($str) {
|
||||||
|
return nl2br ( $str ); // TODO md problem
|
||||||
$text = '';
|
$text = '';
|
||||||
$lv = 0;
|
$lv = 0;
|
||||||
foreach ( explode ( "\n", $str ) as $t ) {
|
foreach ( explode ( "\n", $str ) as $t ) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user