DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › TOPLEAF: For codeblocks in table cells, line feeds in codeblocks are ignored
-
jlm05 May 24, 2012 at 7:22 pm
TOPLEAF: For codeblocks in table cells, line feeds in codeblocks are ignored
May 24, 2012 at 7:22 pmParticipants 0Replies 1Last Activity 10 years, 8 months agoWe have not completed the V7 upgrade, so this is still for XMetal 6 and the associated plugin.
When we put a codeblock within a table cell, the TopLeaf output ignores the carriage returns.
For example, we might add something like:
Introductory text:
Line 1
Line 2
Line 3In the output, it is displayed as:
Line 1 Line 2 Line 3
We do not have this problem in codeblocks outside of table cells, and also did not have this problem in the basic transform.
Thanks,
Janice
tonys May 24, 2012 at 9:46 pm
Reply to: TOPLEAF: For codeblocks in table cells, line feeds in codeblocks are ignored
May 24, 2012 at 9:46 pmCheck that you are telling TopLeaf to preserve space in these instances. Either use an explicit xml:space attribute or set the content model in the relevant mapping.
-
AuthorPosts
- You must be logged in to reply to this topic.