Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-13782

Code block renders no longer respects language header

    XMLWordPrintable

Details

    Description

      By default, the Wiki editor inserts a shebang at the top of each code block indicating the language. For example:

      #!java
      
      line1
      line2
      

      This used to work. Recently, however, the render outputs the raw text #!java when this format is used.

      Expected behavior: Wiki renderer should only show "line1\nline2".

      Attachments

        Activity

          People

            Unassigned Unassigned
            a08d56c10c67 Gili
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: