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

Heading text inside a table always outputs h2 if there is heading text preceding the table

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • 3.9.0alpha1
    • None
    • ezp 4.4.0 alpha2
      ezoe trunk rev.236

    Description

      Insert a text with heading format(TEXT1), then insert a table under the text. Add text(TEXT2) with heading format in the table. Then the output of heading text in the table(TEXT2) is always <h2> formatted.

      This happens not only for TEXT2, but also for all heading formatted text inside the table.

      Attached screenshot.

      Steps to reproduce

      1). Create a folder object
      2). Add a text formated with, let say, heading 3 (TEXT1)
      3). Insert a table beneath the TEXT1
      4). Type TEXT2 inside a cell of the table and format it with heading 4
      5). Publish the folder and check HTML code that is generated by ezpublish for the folder object
      6). Expected result is to get TEXT2 within <H5> HTML tag (refer to design/standard/templates/content/datatype/view/ezxmltags/header.tpl). Actual result is the TEXT2 within <H2> HTML tag.

      Try out the same steps without step number 2 -> actual result = expected result

      Attachments

        Activity

          People

            unknown unknown
            chen chen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: