Clean up indentation
This commit is contained in:
parent
d4986146db
commit
acd4f3b432
3
core.php
3
core.php
|
@ -121,7 +121,7 @@ function convertMarkdownToHTML($contents) {
|
||||||
|
|
||||||
$ret = new parsedMarkdown();
|
$ret = new parsedMarkdown();
|
||||||
$parser = new MarkdownExtra;
|
$parser = new MarkdownExtra;
|
||||||
$parser->no_markup = false;
|
$parser->no_markup = true;
|
||||||
|
|
||||||
$specialSyntax = array(
|
$specialSyntax = array(
|
||||||
'/.*@csgen\.title.*=.*"(.*)(");/',
|
'/.*@csgen\.title.*=.*"(.*)(");/',
|
||||||
|
@ -199,6 +199,7 @@ function convertMarkdownToHTML($contents) {
|
||||||
if (preg_match('/([0-9]*)x([0-9]*)/', $matches[1], $imgres)) {
|
if (preg_match('/([0-9]*)x([0-9]*)/', $matches[1], $imgres)) {
|
||||||
$out = str_replace($matches[0], "<img width=\"$imgres[1]\" height=\"$imgres[2]\" src=\"$matches[2]\">", $out);
|
$out = str_replace($matches[0], "<img width=\"$imgres[1]\" height=\"$imgres[2]\" src=\"$matches[2]\">", $out);
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue