<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Markdown; use Illuminate\Support\Str; class MarkdownUtil { public static function convertToHtml($cFvM7) { goto lUA4W; QoZ4J: $Kn1LP = new MarkConverter(array('renderer' => array('soft_break' => '<br />'))); goto zgBMO; lUA4W: if (PHP_VERSION_ID >= 80000) { return Str::of($cFvM7)->markdown(); } goto QoZ4J; zgBMO: return $Kn1LP->convertToHtml($cFvM7); goto dfoVi; dfoVi: } }