Bug #2184
RCP: 0.7.8, XTZ import module tokenizer inserts linebreaks before each tag
Status: | New | Start date: | 05/04/2017 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% |
|
Category: | Import | Spent time: | - | |
Target version: | TXM X.X |
Description
This may produce undesirable white spaces when displaying out-of-text-to-edit or note elements.
Solution¶
- white space insertion must be an option (new import parameter)
- the tokenizer should not insert any white spaces or linebreaks in elements with mixed content.
- to facilitate displaying and editing XML-TEI-TXM files, linebreaks may be safely added before TXM specific tags that never occur in mixed content context, eg: <txm:form>, <txm:ana>.
Note that if the "tokenize" box is unchecked in the import form, no linebreaks are added to XML-TXM files.
History
#1 Updated by Serge Heiden over 6 years ago
- Description updated (diff)
#2 Updated by Sebastien Jacquot over 5 years ago
- Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0
#3 Updated by Matthieu Decorde over 4 years ago
- Target version changed from TXM 0.8.0 to TXM X.X