Merge branch 'bluditv2' of github.com:dignajar/bludit into bluditv2
This commit is contained in:
commit
5fa3f56ed4
|
@ -81,7 +81,7 @@ class Page {
|
||||||
// Remove "Content:" or "---" and keep next characters if there are
|
// Remove "Content:" or "---" and keep next characters if there are
|
||||||
$content[0] = substr($content[0], strpos($content[0], $styleTypeUsed) + strlen($styleTypeUsed));
|
$content[0] = substr($content[0], strpos($content[0], $styleTypeUsed) + strlen($styleTypeUsed));
|
||||||
|
|
||||||
$content[0] = trim($content[0]);
|
$content[0] = ltrim($content[0]);
|
||||||
|
|
||||||
// Join lines in one variable, this is RAW content from file
|
// Join lines in one variable, this is RAW content from file
|
||||||
$this->vars['contentRaw'] = implode($content);
|
$this->vars['contentRaw'] = implode($content);
|
||||||
|
@ -480,4 +480,4 @@ class Page {
|
||||||
return $string ? implode(', ', $string) . ' ago' : 'Just now';
|
return $string ? implode(', ', $string) . ' ago' : 'Just now';
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue