Bug 48

Title: Keep newlines, tab and space formatting
Type: rfe Severity: normal
Components: opendocument Versions:
Status: new Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ced
Priority: normal Keywords:

Created on 2018-06-14 09:25 by ced, last changed 2018-06-14 09:25 by ced.

msg89 Author: [hidden] (ced) Date: 2018-06-14 09:25
When replacing node value by an expression, we could replace
the newlines ('\r', '\n', '\r\n') by <text:line-break/> and
tabs ('\t') by <text:tab/> and following spaces by <text:s/>
if they are inside a valid element like defined in

The function could just return a Genshi Markup instead which
is escaped and replace those characters.
Date User Action Args
2018-06-14 09:25:07cedcreate