-
Bug
-
Resolution: Obsolete
-
Medium
-
None
-
2.10
-
None
The leading whitespace characters of lines in a {noformat} macro block are removed when rendered by a browser, such that a page can not be reproduced accurately without the ability to edit it:
Show Wiki Markup Page
Show Wiki Markup Page Source
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>View Source - Confluence</title> <meta id="confluence-context-path" name="confluence-context-path" content=""> <script type="text/javascript"> // Deprecated global variables. To be removed in a future version of Confluence. var contextPath = ''; var i18n = []; </script> <!-- include system resources --> <link type="text/css" rel="stylesheet" href="/s/1517/13/1.0/_/download/resources/confluence.web.resources%3Amaster-styles/master.css" title="Confluence Master Stylesheet" media="all"/> <link type="text/css" rel="stylesheet" href="/s/1517/13/1.0/_/download/resources/confluence.web.resources%3Amaster-styles/wiki-content.css" media="all"/> <link type="text/css" rel="stylesheet" href="/s/1517/13/1.0/_/download/resources/confluence.web.resources%3Amaster-styles/tabs.css" media="all"/> <link type="text/css" rel="stylesheet" href="/s/1517/13/1.0/_/download/resources/confluence.web.resources%3Amaster-styles/menu.css" media="all"/> <!--[if IE]> <link type="text/css" rel="stylesheet" href="/s/1517/13/1.0/_/download/resources/confluence.web.resources%3Amaster-styles/menu-ie.css" media="all"/> <![endif]--> <link type="text/css" rel="stylesheet" href="/s/1517/13/1.0/_/download/resources/confluence.web.resources%3Amaster-styles/tables.css" media="all"/> <link type="text/css" rel="stylesheet" href="/s/1517/13/1.0/_/download/resources/confluence.web.resources%3Amaster-styles/panels.css" media="all"/> <!--[if IE]> <link type="text/css" rel="stylesheet" href="/s/1517/13/1.0/_/download/resources/confluence.web.resources%3Amaster-styles/master-ie.css" title="Master-IE" media="all"/> <![endif]--> <link type="text/css" rel="stylesheet" href="/s/1517/13/1.0/_/download/resources/confluence.web.resources%3Amaster-styles/renderer-macros.css" media="all"/> <link type="text/css" rel="stylesheet" href="/s/1517/13/1.0/_/download/resources/confluence.web.resources%3Amaster-styles/content-types.css" media="all"/> <link type="text/css" rel="stylesheet" href="/s/1517/13/1.0/_/download/resources/confluence.web.resources%3Amaster-styles/information-macros.css" media="all"/> <link type="text/css" rel="stylesheet" href="/s/1517/13/1.0/_/download/resources/confluence.web.resources%3Amaster-styles/layout-macros.css" media="all"/> <script type="text/javascript" src="/s/1517/13/1.0/_/download/resources/confluence.web.resources%3Aatlassian-effects/atlassian-effects.js" ></script> <!-- end system resources --> <link rel="stylesheet" href="/s/1517/13/13/_/styles/combined.css" type="text/css"> <meta name="robots" content="noindex,nofollow"> <meta name="robots" content="noarchive"> <meta name="confluence-request-time" content="1231806164873"> <link rel="shortcut icon" href="/favicon.ico"> <link rel="icon" type="image/png" href="/images/logo/confluence_16.png"> <link rel="search" type="application/opensearchdescription+xml" href="/opensearch/osd.action" title="Confluence"/> </head> <body id="com-atlassian-confluence" class="popup" onload="placeFocus()"> <div id="main"> <h1>View Source</h1> <div id="content"> <div class="monospaceInput"> <div class="padded"> Run WebLogic 9.2 & MySQL 5.0 \[Linux, ix86\] Dev.json <br>{noformat:title=Run WebLogic 9.2 & MySQL 5.0 \[Linux, ix86\] Dev.json} <br>{ <br> "MachineSpecs": [ <br> { <br> "chosenMachines": "Any Compatible Machine", <br> "imageName": "CentOS 5.2 [ix86] (WebLogic 9.2, MySQL 5.0)_1", <br> "is_exact_ram": "False", <br> "pre_boot_delay": "0", <br> "primitive_set": [ <br> { <br> "name": "Install Software", <br> "software": "SG:GROUP - Development and Testing Bundle" <br> } <br> ], <br> "ram_size": "1024", <br> "role_adapters": [], <br> "specName": "ix86" <br> } <br> ], <br> "_version": "v20080204", <br> "action_on_error": "Hold Machine", <br> "action_on_time_out": "Terminate Job", <br> "auto_release_on_poweroff": "True", <br> "created_by": "admin", <br> "description": "BEA WebLogic 9.2, MySQL 5.0, CentOS 5.2, ix86 with Development bundle", <br> "job_name": "Run WebLogic 9.2 & MySQL 5.0 [Linux, ix86] Dev", <br> "job_switches": [ <br> { <br> "lm_network": "Default Public Network", <br> "name": "LMSwitch-0" <br> } <br> ], <br> "job_type": "lm-advanced-job", <br> "release_resources_in_end": "True", <br> "time_out": "0" <br>} <br>\{noformat\} </div> </div> </div> </div> <div id="footer"> <ul id="poweredby"> <li class="noprint">Powered by <a href="http://www.atlassian.com/software/confluence" class="smalltext">Atlassian Confluence</a> 2.10.1-rc3, the <a href="http://www.atlassian.com/software/confluence" class="smalltext">Enterprise Wiki</a>.</li> <li class="print-only">Printed by Atlassian Confluence 2.10.1-rc3, the Enterprise Wiki.</li> <li class="noprint"><a href="http://jira.atlassian.com/secure/BrowseProject.jspa?id=10470" class="smalltext">Bug/feature request</a> –</li> <li class="noprint"><a href="http://www.atlassian.com/about/connected.jsp?s_kwcid=Confluence-stayintouch" class="smalltext">Atlassian news</a> –</li> <li class="noprint"><a href="/administrators.action">Contact administrators</a></li> </ul> </div> </body> </html>
You can see in the page source, that the whitespace does exist, but since it is not rendered as a pre-format block, the spacing is ignored by the browser. Also note, that I've had to manually escape the last {noformat} block in the above page source so that it will render correctly.
Wiki Markup when cut and pasted
Please note I've had to create a screen shot here, as the markup contains a {noformat} block.
Example page on EAC: Noformat square brackets in title escape test
Example page on CAC: Noformat square brackets in title escape test
This report uses the same Confluence page for demonstration as per CONF-14185.
- is related to
-
CONFSERVER-16401 Tabs in the Confluence page editor
- Closed
- relates to
-
CONFSERVER-14185 Square Brackets in the Title of a {noformat} macro can not be escaped, causes a new page link to appear
- Closed