first commit
This commit is contained in:
commit
45255b2c80
4 changed files with 70 additions and 0 deletions
6
lib/Parsedown.php
Normal file
6
lib/Parsedown.php
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
class Parsedown {
|
||||
public function text($text) {
|
||||
return '<p>' . nl2br(htmlspecialchars($text)) . '</p>';
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue