Ticket #92 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

linebreak weirdness in fo:block

Reported by: TrueBrain Assigned to: tkg
Priority: minor Milestone: xmlroff 0.5.3
Component: libfo-compat.xsl Version: 0.5.x
Keywords: Cc:
Blocking:

Description (Last modified by tkg)

Take this block:

<fo:block>line1
line2
line3</fo:block>

I expect to see in the result 3 lines. This happens when running xmlroff with --nocompat, but not when running with --compat.

I also expected linefeed-treatment to influence this behavior. By default, if I understand it correctly, it should make spaces from \n. This doesn't happen in --nocompat, and always happens with --compat, no matter what value you give it.

Change History

10/02/07 15:27:56 changed by tkg

  • description changed.

10/02/07 15:29:24 changed by tkg

  • owner set to tkg.
  • component changed from libfo to libfo-compat.xsl.

10/03/07 22:18:25 changed by tkg

  • status changed from new to closed.
  • resolution set to fixed.

(In [222]) Added fo_text_resolve_property_attributes() and fo_text_validate() so FoText? behaves more like regular FoFo? objects and so 'linefeed-treatment' property works. Reworked fo_text_get_text_attr_list() to implement 'white-space-collapse' prorerty. (Closes #79, #92.)

10/11/07 11:28:29 changed by tkg

  • milestone set to xmlroff 0.5.3.