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

Edit Macro dialog shows HTML entities ‘ and ’ instead of single quotes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Low
    • None
    • 4.2.13, 4.3.2, 4.3.7
    • None
    • Confluence 4.2.13 and 4.3.2 with German translation
      Google Chrome 22
      Ubuntu Linux 10.04.4 LTS
      PostgreSQL 8.4.14

    Description

      When the Confluence language is set to German or French, the "Edit Macro" dialog shows HTML entities in the title.

      Steps to reproduce:

      1. Set Confluence language to German or French
      2. Edit a page that uses macros, for example the panel macro.
      3. Double click the macro placeholder to edit the macro properties.

      Result: Panel title is &#8216\;Panel&#8217 ; Makro bearbeiten" (see attached screenshot)

      Expected result: 'Panel' Makro bearbeiten

      Workaround:

      Append the following custom HTML after <head>:

      <script type="text/javascript">
      $.ajaxSettings.complete = function(xhr, status){
      $('#macro-browser-dialog .dialog-components h2.dialog-title').each(function(i,h){ $(h).html($(h).html().replace(/&amp;/g, '&'));});
      }
      </script>
      

      Attachments

        Issue Links

          Activity

            People

              shaffenden Steve Haffenden (Inactive)
              8020e1d9037f Stephan Vollmer
              Votes:
              10 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: