Cosmetics : remove spaces at the end of lines and correct lines with more than 80 chars
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1643 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -265,7 +265,8 @@ class markdown
|
||||
// Remove last \n to put closing tag at the end of line
|
||||
//$res = substr ($res, 0, -1);
|
||||
$oldType = array_pop ($typeStack);
|
||||
$this->debugMKD (str_repeat (" ", end ($indentStack))."</$oldType>");
|
||||
$this->debugMKD (str_repeat (" ", end ($indentStack)).
|
||||
"</$oldType>");
|
||||
$res .= str_repeat (" ", end ($indentStack))."</$oldType>";
|
||||
array_pop ($indentStack);
|
||||
array_pop ($htmlStack);
|
||||
@@ -317,7 +318,8 @@ class markdown
|
||||
{
|
||||
$this->debugMKD ("DEB2 : CODE : Close older HTML");
|
||||
$oldType = array_pop ($typeStack);
|
||||
$this->debugMKD (str_repeat (" ", end ($indentStack))."</$oldType>");
|
||||
$this->debugMKD (str_repeat (" ", end ($indentStack)).
|
||||
"</$oldType>");
|
||||
$res .= str_repeat (" ", end ($indentStack))."</$oldType>";
|
||||
array_pop ($indentStack);
|
||||
array_pop ($htmlStack);
|
||||
@@ -356,7 +358,7 @@ class markdown
|
||||
array_pop ($htmlStack);
|
||||
}
|
||||
|
||||
// If code, there is no emphasis, email, and other conversions
|
||||
// If code, there is no emphasis, email, and other conversions
|
||||
if ($type !== "code")
|
||||
{
|
||||
$timetmp = microtime (TRUE);
|
||||
|
||||
Reference in New Issue
Block a user