Commit bacd2801 authored by Noah Manneschmidt's avatar Noah Manneschmidt

Correct indent

parent 57c742be
......@@ -83,15 +83,15 @@ class PDFEmbed {
* @return string HTML object.
*/
static private function embed(File $file, $width, $height, $page) {
return Html::rawElement('object', [
'width' => $width,
'height' => $height,
'data' => $file->getFullUrl().'#page='.$page,
'type' => 'application/pdf'
],
wfMessage('pdf_not_supported', $file->getFullUrl(), $file->getName())->escaped()
."<param name='page' value='$page' />"
);
return Html::rawElement('object', [
'width' => $width,
'height' => $height,
'data' => $file->getFullUrl().'#page='.$page,
'type' => 'application/pdf'
],
wfMessage('pdf_not_supported', $file->getFullUrl(), $file->getName())->escaped()
."<param name='page' value='$page' />"
);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment