Add rule for operator spacing
[MAILPOET-2090]
This commit is contained in:
@ -32,7 +32,7 @@ class Renderer {
|
||||
|
||||
function render($data) {
|
||||
$column_count = count($data['blocks']);
|
||||
$columns_layout = isset($data['columnLayout'])?$data['columnLayout']:null;
|
||||
$columns_layout = isset($data['columnLayout']) ? $data['columnLayout'] : null;
|
||||
$column_widths = ColumnsHelper::columnWidth($column_count, $columns_layout);
|
||||
$column_content = [];
|
||||
|
||||
|
@ -103,7 +103,7 @@ class Text {
|
||||
if (!preg_match('/text-align/i', $style)) {
|
||||
$style = 'text-align: left;' . $style;
|
||||
}
|
||||
$contents = str_replace('&', '&', $paragraph->html());
|
||||
$contents = str_replace('&', '&', $paragraph->html());
|
||||
$paragraph->setTag('table');
|
||||
$paragraph->style = 'border-spacing:0;mso-table-lspace:0;mso-table-rspace:0;';
|
||||
$paragraph->width = '100%';
|
||||
|
Reference in New Issue
Block a user