Uploaded image for project: 'Confluence Source Editor Plugin'
  1. Confluence Source Editor Plugin
  2. SOURCE-63

Monospace text with formatting, or linked can gain extra spaces when opened in the source editor.

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • true
    • Severity 2 - Major

    Description

      The pretty formatting for making the source readable in the source editor is causing issues around <code> tags by adding extra spacing that it shouldn't.

      BEFORE:
      <p>Find the normal (non-SSL)&nbsp;<code>Connector</code>&nbsp;directive in Tomcat's&nbsp;<code>server.xml</code>&nbsp;file, and add the <code><strong>scheme</strong></code>,&nbsp;<strong><code>proxyName</code></strong>,&nbsp;and <code><strong>proxyPort</strong></code> attributes as shown below. Instead of <code>mycompany.com</code>, set the <code>proxyName</code>&nbsp;attribute to the domain name that Apache HTTP Server will be configured to serve.&nbsp;This informs Stash of the domain name and port of&nbsp;the requests that reach it via Apache HTTP Server, and is important to the correct operation of the Stash functions that construct URL's.</p>
      
      AFTER:
      <p>Find the normal (non-SSL)&nbsp;<code>Connector</code>&nbsp;directive in Tomcat's&nbsp;<code>server.xml</code>&nbsp;file, and add the <code> <strong>scheme</strong> </code>,&nbsp;<strong> <code>proxyName</code> </strong>,&nbsp;and <code> <strong>proxyPort</strong> </code> attributes as shown below. Instead of <code>mycompany.com</code>, set the <code>proxyName</code>&nbsp;attribute to the domain name that Apache HTTP Server will be configured to serve.&nbsp;This informs Stash of the domain name and port of&nbsp;the requests that reach it via Apache HTTP Server, and is important to the correct operation of the Stash functions that construct URL's.</p>
      

      To reproduced:

      1. Set body to original markup above
      2. Open source editor
      3. Click Apply
      4. Extra spaces are now added

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pwatson paulwatson (Inactive)
              Archiver:
              mkhairuliana Monique Khairuliana (Inactive)

              Dates

                Created:
                Updated:
                Archived:
                7 years, 34 weeks, 2 days ago