Upgrading Confluence Breaks the Display of Macro
症状
After upgrading Confluence, inline macros surrounded by a heading have the paragraph (<p>) tag injected into them, which breaks the display of the macro. This is especially true when upgrading from Confluence 3.5.x to 4.x or later.
原因
The migration task that converts wiki markup into the XHTML storage format is not context-aware enough to know when a macro is contained within a heading tag.
回避策
This is a workaround for Confluence 4.3.1
- Download the following patch: confluence-4.3.1.jar
To install the patch:
- Confluence を停止します。
- Rename CONF/confluence/WEB-INF/lib/confluence-4.3.1.jar to confluence-4.3.1.jar.backup
- Copy the attached confluence-4.3.1.jar to CONF/confluence/WEB-INF/lib/
- Confluence を起動します。
- Launch the task to migrate incompatible macros, by navigating to <CONF_BASE_URL>/admin/unmigratedwikicontent.action)
最終更新日: 2016 年 2 月 19 日
Powered by Confluence and Scroll Viewport.