New function to convert bbcode to markdown.
This commit is contained in:
parent
7c2d27e275
commit
3968e77f9e
10 changed files with 2939 additions and 19 deletions
|
|
@ -93,7 +93,8 @@ function oembed_format_object($j){
|
|||
$ret.="<br>";
|
||||
}; break;
|
||||
case "photo": {
|
||||
$ret.= "<img width='".$j->width."' height='".$j->height."' src='".$j->url."'>";
|
||||
$ret.= "<img width='".$j->width."' src='".$j->url."'>";
|
||||
//$ret.= "<img width='".$j->width."' height='".$j->height."' src='".$j->url."'>";
|
||||
$ret.="<br>";
|
||||
}; break;
|
||||
case "link": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue