Fop
  1. Fop
  2. FOP-1141

white-space incorrectly handled after linefeed

    Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 0.91
    • Fix Version/s: None
    • Component/s: unqualified
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other
    • External issue ID:
      38457

      Description

      Not sure if it is supposed to be or I was using it wrong. The PDF generated
      from following snippet shows no line breaks between the lines, so all text
      within the block is wrapped up in one line.

      Please instruct. Thank you very much.

      <fo:block font-family="monospace" white-space="pre" >
      public class Sample
      {
      public static void main(String [] args)

      { System.out.println("Hello, World!"); }

      }
      </fo:block>

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            fop-dev
            Reporter:
            li hao
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development