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

{noformat} macro doesn't work properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 1.4
    • 1.1.1, 1.1.2
    • None
    • Standalone

      When using the

       macro, confluence does do some formatting:
      
      Using a '#' sign inside a noformat block results in a numbered list
      
      
      Also, when inserting this noformat block:
      
      ----------------------------------------------------------
      
      

      @av_scanners_backup = (

          1. http://www.clamav.net/
            ['Clam Antivirus - clamscan', 'clamscan',
            '--stdout --disable-summary -r {}', [0], [1],
            qr/^.?: (?!Infected Archive)(.) FOUND$/ ],

      ['KasperskyLab kavscanner', ['/opt/kav/bin/kavscanner','kavscanner'],
      '-i1 -xp {}', [0,10,15], [5,20,21,25],
      qr/(?:CURED|INFECTED|CUREFAILED|WARNING|SUSPICION) (.*)/ ,
      sub

      {chdir('/opt/kav/bin') or die "Can't chdir to kav: $!"}

      ,
      sub

      {chdir($TEMPBASE) or die "Can't chdir back to $TEMPBASE $!"}

      ,
      ],

      );

      
      

      ----------------------------------------------------------

      Results in some unexpected output:

      ----------------------------------------------------------

      @av_scanners_backup = (

      1.
      1.
      1. http://www.clamav.net/ ['Clam Antivirus - clamscan', 'clamscan', '--stdout --disable-summary -r {}', [0], [1], qr/^.?: (?!Infected Archive)(.) FOUND$/ ],

      'KasperskyLab kavscanner', ['/opt/kav/bin/kavscanner','kavscanner'],
      '-i1 -xp {}', 0,10,15, 5,20,21,25,
      qr/(?:CURED,

      ----------------------------------------------------------

      Thanks in advance,
      Regards,
      Erik de Wildt
      Nutsbedrijven Maastricht n.v.
      erik.de.wildt@nutsmaas.nl

              Unassigned Unassigned
              ea503f65e11b Erik de Wildt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: