Added missing line break replacement when the values do not contain html tags
This commit is contained in:
parent
6b3fdfbcd8
commit
1472a24371
@ -179,7 +179,7 @@ class Odf
|
||||
}
|
||||
$this->contentXml = str_replace('</office:font-face-decls>', $fonts . '</office:font-face-decls>', $this->contentXml);
|
||||
}
|
||||
else $this->vars[$tag] = $value;
|
||||
else $this->vars[$tag] = preg_replace('/(\r\n|\r|\n)/i', "<text:line-break/>", $value);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user