1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

improve naming consistency

This commit is contained in:
Emanuil Rusev 2014-04-28 02:14:46 +03:00
parent eab3cbf255
commit 307a987cb6

View File

@ -935,9 +935,9 @@ class Parsedown
$Span['position'] = $markerPosition; $Span['position'] = $markerPosition;
} }
$unmarkedText = substr($text, 0, $Span['position']); $plainText = substr($text, 0, $Span['position']);
$markup .= $this->readPlainText($unmarkedText); $markup .= $this->readPlainText($plainText);
$markup .= isset($Span['element']) ? $this->element($Span['element']) : $Span['markup']; $markup .= isset($Span['element']) ? $this->element($Span['element']) : $Span['markup'];