Add rule for operator spacing

[MAILPOET-2090]
This commit is contained in:
Pavel Dohnal
2019-05-20 13:57:13 +02:00
committed by M. Shull
parent 5da7110eb6
commit 12ff88ee21
39 changed files with 167 additions and 162 deletions

View File

@ -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 = [];

View File

@ -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%';