mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-28 19:49:17 +00:00
Enable markdown format
This commit is contained in:
@@ -214,13 +214,12 @@
|
||||
$call_transcript = conversational_html($transcription_array['segments']);
|
||||
|
||||
//format the call recording transcript summary
|
||||
$call_summary = escape($transcript_summary);
|
||||
// require_once "resources/classes/parsedown.php";
|
||||
// $parsedown = new Parsedown();
|
||||
// $parsedown->setSafeMode(true);
|
||||
// $parsedown->setMarkupEscaped(true);
|
||||
//$call_summary = str_replace('###', '', $transcript_summary);
|
||||
//$call_summary = str_replace('&', '&', $parsedown->text($call_summary));
|
||||
require_once "resources/classes/parsedown.php";
|
||||
$parsedown = new Parsedown();
|
||||
$parsedown->setSafeMode(true);
|
||||
$parsedown->setMarkupEscaped(true);
|
||||
$call_summary = str_replace('###', '', $transcript_summary);
|
||||
$call_summary = str_replace('&', '&', $parsedown->text($call_summary));
|
||||
|
||||
//get the format
|
||||
if (!empty($xml_string)) {
|
||||
|
||||
Reference in New Issue
Block a user