Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-40838

Confluence throws Can't find brush for language

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      1. install Confluence 5.9.x
      2. Configure Code Macro via Administrations > Configure Code Macro > add a new language.
      3. create a new page
        1. insert Code Macro
        2. select the newly created syntax highlighter

      Expected Behaviour:
      Code will be highlighted nicely

      Actual Behaviour:
      Error "Can't find brush for: <language>" is thrown when the page is accessed

      Misc:
      The same Custom Brush works in Confluence 5.7.x and Confluence 5.8.x

      Attachments

        1. Error.png
          61 kB
          Janet Albion
        2. failing-YAML-brush.png
          32 kB
          Christoph Meier

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jalbion Janet Albion (Inactive)
              Votes:
              44 Vote for this issue
              Watchers:
              37 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: