This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* ✔ pos. tested with Parsedown 1.7.4 | |
* | |
* This allows usage of image dimensions this way: | |
*  | |
*  | |
* | |
* @related |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @param string $sMarkup | |
* @return string | |
*/ | |
function beautifyXml($sMarkup = '') : string | |
{ | |
$oDOMDocument = new DOMDocument(); | |
$oDOMDocument->preserveWhiteSpace = false; |