Commit ef796ce7 authored by Mikhail Khasaya's avatar Mikhail Khasaya
Browse files

Issue #3307650 by dillix: Implement SPACE character conversion

parent 0d2dfaa1
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -395,6 +395,17 @@ class OdtConverter {
            $this->html .= "\n";
            break;

          // Space character.
          case "text:s":
            $count = $xml->getAttribute('text:c');
            if ($count !== NULL) {
              $this->html .= str_repeat(' ', $count);
            }
            else {
              $this->html .= ' ';
            }
            break;

          case "style:style":
            $name = $xml->getAttribute('style:name');
            $parent = $xml->getAttribute('style:parent-style-name');