FM 11
I know that <codeblock> is designed to represent lines of program code and that line endings and spaces must be preserved. However, my line endings are not being preserved; turn into a new <codeblock> leaving me with line after line of <codeblock> elements like this:
<codeblock>Do forever.</codeblock>
<codeblock>Say "Hello World"</codeblock>
<codeblock>End</codeblock>
Rather than like this:
<codeblock>
Do forever
Say "Hello World"
End
</codeblock>
These are my Text format rules in my EDD:
1. If context is: * < stepresult < substep
Use paragraph format: CodeBlock2
Else, if context is: li < * < choice
Use paragraph format: CodeBlock3
Else, if context is: * < stepresult < step
Use paragraph format: CodeBlock1
Else, if context is: * < stepxmp
Use paragraph format: CodeBlock1
Else, if context is: * < step
Use paragraph format: CodeBlock1
Else:
Use paragraph format: Codeblock
2. If context is: [expanse="page"]
Pagination properties
Placement: Across all columns and side heads
CodeBlock is defined like this in the FM Paragraph Designer (with only the margins differing for CodeBlock1, CodeBlock2, etc.)
What am I doing wrong?
Marsha