Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21936

Exporting to ODF have unexpected behavior if "\n" present

    Details

      Description

      Exporting a text that has a (or some) "\n" (line feed) will loose the text decorations when exporting.

      To reproduce do:
      Create an "article" with following text in "summary" field:

      This text has
      an enter <strong>before bold efect</strong>
      

      (Notice, this should be done without (or disabled) ezoe)

      Then export, and verify that the bold effect disappeared.
      However if you change the <enter> (line feed) to <br/> it works as expected

        Activity

        Marcos Loureiro (Inactive) created issue -
        Marcos Loureiro (Inactive) made changes -
        Field Original Value New Value
        Status Open [ 1 ] Confirmed [ 10037 ]
        Marcos Loureiro (Inactive) made changes -
        Description Exporting a text that has a (or some) "\n" (line feed) will loose the text decorations when exporting.

        Create an "article" with following text in "summary" field:
        {noformat}
        This text has
        an enter <strong>before bold efect</strong>
        {noformat}
        (Notice, this should be done without (or disabled) ezoe)

        Then export, and verify that the bold effect disappeared.
        However if you change the {{<enter>}} (line feed) to {{<br/>}} it works as expected
        Exporting a text that has a (or some) "\n" (line feed) will loose the text decorations when exporting.

        To reproduce do:
        Create an "article" with following text in "summary" field:
        {noformat}
        This text has
        an enter <strong>before bold efect</strong>
        {noformat}
        (Notice, this should be done without (or disabled) ezoe)

        Then export, and verify that the bold effect disappeared.
        However if you change the {{<enter>}} (line feed) to {{<br/>}} it works as expected
        André Rømcke made changes -
        Workflow eZ Engineering Scrumban Workflow [ 60039 ] EZ* Development Workflow [ 70007 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 70007 ] EZEE Development Workflow [ 108390 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Confirmed Confirmed
        53s 1 Marcos Loureiro (Inactive) 13/Nov/13 1:23 PM

          People

          • Assignee:
            Unassigned
            Reporter:
            Marcos Loureiro (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: