Skip to content

Commit d841003

Browse files
committed
fenced code blocks should respect indnetation
1 parent f310bbe commit d841003

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Parsedown.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ protected function addToFencedCode($Line, $Block)
454454
return $Block;
455455
}
456456

457-
$string = htmlspecialchars($Line['text'], ENT_NOQUOTES, 'UTF-8');
457+
$string = htmlspecialchars($Line['body'], ENT_NOQUOTES, 'UTF-8');
458458

459459
$Block['element']['text']['text'] .= "\n".$string;;
460460

0 commit comments

Comments
 (0)