Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-69512

Creole "inline nowiki" syntax highlights as "block nowiki"

    Details

      Description

      Reproduction steps:
      1 - Start DXP
      2 - Add a Wiki portlet to a page
      3 - Click on "Edit" for the front page
      4 - Click on the markup icon </> to go to source mode
      5 - Add the following text:

      This {{{potato}}} should be inline
      This
      {{{
      orange
      }}}
      should be block
      

      6 - Click on the "painter" icon to go back to the WYSIWYG editor
      7 - You'll notice that "potato" is highlighted in an inline fashion, whereas "orange" is highlighted as a block:

      8 - Click "Publish"

      Expected: "potato" should be highlighted inline, "orange" should be highlighted as a block

      Actual result: both of them are highlighted as blocks:

        Attachments

        1. 1_before_publication.png
          1_before_publication.png
          15 kB
        2. 2_after_publication.png
          2_after_publication.png
          28 kB
        3. 69512_3.png
          69512_3.png
          70 kB
        4. 69512.png
          69512.png
          33 kB

          Activity

            People

            Assignee:
            sylvia.luan Sylvia Luan
            Reporter:
            istvan.dezsi Istvan Dezsi
            Participants of an Issue:
            Recent user:
            Brian Wulbern
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 51 weeks, 2 days ago

                Packages

                Version Package
                7.0.0 DXP FP9
                7.0.0 DXP SP2
                7.0.3 CE GA4
                7.1.X
                Master