-
Bug
-
Resolution: Fixed
-
Low
-
2.10.3, 3.0
Bug Background
- Some macros with a very long text within it will not be wrapped if they are within a table
- As a result, the page becomes too wide with scrollbars to scroll the page.
- The long text inside the macros should be within the macro with scrollbar to scroll the text or wrapped if possible.
- This behaviour applies to macros such as {code} {noformat}, {panel}, {info}, {quote} and possibly other macros
- This behaviour is exhibited in the Left Navigation Theme as well as when using the Navigation Sidebar because of the use of tables.
- Here is a sample code that you can try to demonstrate the behaviour:
h3. Macros within table {html} <table> <tr> <td> {html} \{code:title=Code Macro} this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. \{code} {panel:title=Panel} this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. {panel} {noformat:title=Noformat} this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. {noformat} {info:title=Info} this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. {info} {html} </td> </tr> </table> {html} h3. Macros outside table \{code:title=Code Macro} this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. \{code} {panel:title=Panel} this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. {panel} {noformat:title=Noformat} this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. {noformat} {info:title=Info} this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. this is a very long text. {info}
- This is the screenshot
for the above code
Workaround
- As a workaround, Administrator can define a Custom HTML that has this code in the "At end of the HEAD" section:
<style> .code, .preformatted { width: 50%; } .panelContent pre { overflow-x: scroll; } </style>
- This workaround is applicable to only {code} and {noformat} macro.
- is related to
-
CONFSERVER-22007 Long text without space is truncated in panel, info, warning macros
-
- Closed
-
- relates to
-
CONFSERVER-10697 Code macro should wrap
-
- Closed
-
[CONFSERVER-16736] Long text is not wrapped in noformat and code macros inside a table
Workflow | Original: JAC Bug Workflow v3 [ 2897848 ] | New: CONFSERVER Bug Workflow v4 [ 2992405 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2789772 ] | New: JAC Bug Workflow v3 [ 2897848 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2719829 ] | New: JAC Bug Workflow v2 [ 2789772 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2388956 ] | New: JAC Bug Workflow [ 2719829 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2266108 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2388956 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2209741 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2266108 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2195025 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2209741 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1929009 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2195025 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1730409 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1929009 ] |
Workflow | Original: CONF Bug Subtask WF (TEMP) [ 1686581 ] | New: Confluence Workflow - Public Facing - Restricted v3 [ 1730409 ] |