org-mode-ox-odt icon indicating copy to clipboard operation
org-mode-ox-odt copied to clipboard

Invalid content.xml ... also consider stripping form feed characters C-q C-l

Open kjambunathan opened this issue 2 years ago • 0 comments

The org file may have page break character C-q C-l for ease of navigation ... It is "useful" to "strip" these form feed characters in XML output.


The following org snippet produces invalid XML ...

#+odt_validate: abort



Aute labore quis velit sunt anim

1.

[[https://www.example.com/][Mollit pariatur sint duis pariatur aliqua id]]

- Dolore deserunt commodo consectetur ut esse reprehenderit

Ut ipsum est irure aliquip proident, sit nostrud aliquip irure lorem
do tempor amet, incididunt velit ipsum.

The XML fragment has a nil


<text:p text:style-name="Text_20_body">Aute labore quis velit sunt anim</text:p>


<text:list text:style-name="OrgNumberedList" text:continue-numbering="false">

<text:list-item >
nil
</text:list-item>
</text:list>


<text:p text:style-name="Text_20_body"><text:a xlink:type="simple" xlink:href="https://www.example.com/">Mollit pariatur sint duis pariatur aliqua id</text:a></text:p>

kjambunathan avatar Jan 08 '23 12:01 kjambunathan