DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion TOPLEAF: For codeblocks in table cells, line feeds in codeblocks are ignored

  • jlm05

    TOPLEAF: For codeblocks in table cells, line feeds in codeblocks are ignored

    Participants 0
    Replies 1
    Last Activity 10 years, 4 months ago

    We 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 3

    In 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

    Reply

    tonys

    Reply to: TOPLEAF: For codeblocks in table cells, line feeds in codeblocks are ignored

    Check 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.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support