format_description() support another img bbcode syntax

This commit is contained in:
xiaomlove
2023-03-26 23:42:17 +08:00
parent c28d2c5e23
commit 9e41eef12e
3 changed files with 12 additions and 3 deletions

View File

@@ -95,7 +95,7 @@ class Test extends Command
*/
public function handle()
{
$logFile = getLogFile("seed-points");
$logFile = format_description('[img=http://www.baidu.com][img]http://www.baidu.com[/img]');
dd($logFile);
}