mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-11 11:35:54 +02:00
Merge remote-tracking branch 'alfh/bugfix_openbox_center' into next
This commit is contained in:
@@ -238,7 +238,12 @@ sub openbox {
|
||||
$align = $_[1];
|
||||
$caption = $_[2];
|
||||
|
||||
print "<div class='post' style='text-align:$align;'>\n";
|
||||
if($align eq 'center') {
|
||||
print "<div class='post' align='center'>\n"
|
||||
}
|
||||
else {
|
||||
print "<div class='post'>\n";
|
||||
}
|
||||
|
||||
if ($caption) {
|
||||
print "<h2>$caption</h2>\n";
|
||||
|
||||
Reference in New Issue
Block a user