Last modified by Vincent Massol on 2026/11/30 17:33

Show last authors
1 You can see this syntax:
2
3 * when using the "View Storage Format" feature of Confluence
4 * in [[BodyContent objects>>xwiki:documentation.extensions.admin.confluence.xml-format.WebHome||anchor="Hcom.atlassian.confluence.core.BodyContent"]] with a ##bodyType## equal to 2.
5
6 The Confluence XHTML Syntax is basically XHTML (the XML variant of HTML), with a few additional, Confluence-specific tags and attributes, and a few oddities.
7
8 {{warning}}
9 The Confluence XHTML Syntax is an XML dialect that can contain CDATA sections. When stored in a CDATA section in the content property of BodyContent objects, a space is added to CDATA end tag. ##]]>## becomes ##]] >##. You will have to pre-process this before parsing the Confluence XML syntax.
10 {{/warning}}
11
12 {{info}}
13 We've not seen this syntax ever indented in Confluence exports. If you see indented example, they were either indented by ourselves for readability, or taken from the Confluence "View Storage Format" feature.
14 {{/info}}
15
16 {{warning}}
17 Sometimes, block macros are put inside their own ##<p>## element. But not always. This can surprising, and this need to be carefully handled while parsing or converting the Confluence XHTML syntax.
18 {{/warning}}
19
20 {{warning}}
21 Conversely, we have seen inline macros defined by Confluence plugins that are put inside their own #<p># element. We don't know how to handle this and they will appear on their own line (after import) in XWiki.
22 {{/warning}}
23
24
25 == Confluence-specific tags ==
26
27 === ##ac:caption## ===
28
29 {{code language="xml"}}
30 <ac:image ac:align="left" ac:layout="align-start" ac:original-height="1200" ac:original-width="1200"
31 ac:custom-width="true" ac:alt="some alt text" ac:width="50">
32 <ri:attachment ri:filename="rock.jpg" ri:version-at-save="1" />
33 <ac:caption>
34 <p>sos<em>asdas</em>ame ca<strong>sasd</strong>ion</p>
35 </ac:caption>
36 <ac:adf-mark key="border" size="2" color="#091e4224" />
37 </ac:image>
38 {{/code}}
39
40 The caption of an image, in the node's body.
41
42 === ##ac:default-parameter## ===
43
44 {{code language="xml"}}
45 <ac:macro ac:name="anchor">
46 <ac:default-parameter>value1</ac:default-parameter>
47 </ac:macro>
48 {{/code}}
49
50 Gives the value of the parameter of a macro that doesn't have a name, in its body. Sometimes, ##<ac:parameter name="">## is used instead, likely with ac:structured-macro. We haven't seen it used several times per macro, rather, at most once.
51
52 === ##ac:emoticon## ===
53
54 {{code language="none"}}
55 <p>My emoticon: <ac:emoticon ac:name="smile" ac:emoji-shortname=":slight_smile:" ac:emoji-id="1f642" ac:emoji-fallback="(here an emoji, but xwiki.org cannot handle them in documents)" /></p>
56 <p>New Confluence Cloud emoticon: <ac:emoticon ac:name="cross" ac:emoji-shortname=":cross_mark:" ac:emoji-id="atlassian-cross_mark" ac:emoji-fallback=":cross_mark:" /></p>
57 {{/code}}
58
59 An emoticon, that hopefully but doesn't necessarily map well to an emoji. Formerly, Confluence emoticons where a bit like MSN smileys, ancestors of the emojis that are widespread now.
60
61 The tag is self-closing. The tag's attributes seem to have changed quite a bit over time, we can't rely on any attribute to be there. Here is an attempt to explain the parameters anyway.
62
63 |=Attribute|=Meaning
64 |##ac:name##|The name of the emoticon
65 |##ac:emoji-short-name##|the name of the emoji on which one would fallback to render this emoticon
66 |##ac:emoji-id##|the hexadecimal code of the corresponding emoji character, OR some Confluence-specific name
67 |##ac:emoji-fallback##|The emoji itself, OR the emoji short name
68
69 {{warning}}
70 Formerly, emoticons were given with an ##img## tag like in the following:
71
72 {{code language="html"}}
73 <img class="emoticon emoticon-warning" title="(warning)" src="http://confluence.atlatian.net/s/en_US/7901/4635873c8e185dc5df37b4e2487dfbef570b5e2c/_/images/icons/emoticons/warning.svg" alt="(warning)" border="0" />
74 {{/code}}
75 {{/warning}}
76
77 Or with an ac:image tag like in the following:
78
79 {{code language="xml"}}
80 <ac:image ac:class="emoticon emoticon-smile" ac:title="(L&auml;cheln)" ac:alt="(L&auml;cheln)"><ri:url ri:value="http://confluence.atlatian.net/s/de_DE/7901/4635873c8e185dc5df37b4e2487dfbef570b5e2c/_/images/icons/emoticons/smile.svg" /></ac:image>
81 {{/code}}
82
83 === ##ac:image## ===
84
85 {{code language="xml"}}
86 <p>
87 <ac:image ac:align="left" ac:layout="align-start" ac:original-height="1200" ac:original-width="1200"
88 ac:custom-width="true" ac:alt="some alt text" ac:width="50">
89 <ri:attachment ri:filename="rock.jpg" ri:version-at-save="1" />
90 <ac:caption>
91 <p>sos<em>asdas</em>ame ca<strong>sasd</strong>ion</p>
92 </ac:caption>
93 <ac:adf-mark key="border" size="2" color="#091e4224" />
94 </ac:image>
95
96 <ac:image ac:border="true" ac:height="217" ac:width="524">
97 <ri:attachment ri:filename="image.png">
98 <ri:page ri:content-title="pagetovalidate" ri:space-key="spacetovalidate"/>
99 </ri:attachment>
100 </ac:image>
101 </p>
102 {{/code}}
103
104 An image. If the image displays an attachment, it is given using a ##ri:url## tag, possibly with a relative value, or a ##ri:attachment## tag. A caption can be given with the ##ac:caption## tag. Some styling can be given with an ac:adf-mark key.
105
106 |=Attribute|=Meaning
107 |##ac:align##|How the image is aligned (we know about these values: "left", "right", "center")
108 |##ac:layout##|How the image is organised (we know about these values: "align-start", "align-end", "center", "wrap-left", "wrap-right")
109 |##ac:original-width##|The original width of the image
110 |##ac:original-height##|The original height of the image
111 |##ac:custom-width##|Whether a custom width is applied to the image. Note: supposedly, an ac:custom-height attribute exists but we've not seen it yet.
112 |##ac:width##|The custom width (optional)
113 |##ac:height##|The custom height (optional)
114 |##ac:alt##|The alternative text (same as the standard HTML alt attribute of the standard HTML img element)
115 |##ac:border##|Whether the image has a border (but also note the ac:adf-mark key="border" element present in the first example which doesn't have an ac:border attribute)
116
117 === ##ac:inline-comment-marker## ===
118
119 {{code language="html"}}
120 <p>before<ac:inline-comment-marker ac:ref="21641e47-9393-4d3c-890f-0994b2181443">annotation</ac:inline-comment-marker>after</p>
121 {{/code}}
122
123 Surrounds a text commented in an inline comment.
124
125 === ##ac:layout## ===
126
127 {{code language="xml"}}
128 <ac:layout>
129 <ac:layout-section ac:type="two_equal" ac:breakout-mode="default">
130 <ac:layout-cell><p>Test1</p></ac:layout-cell>
131 <ac:layout-cell><p>Test2</p></ac:layout-cell>
132 </ac:layout-section>
133 <ac:layout-section ac:type="fixed-width" ac:breakout-mode="default">
134 <ac:layout-cell><p /></ac:layout-cell>
135 </ac:layout-section>
136 </ac:layout>
137 {{/code}}
138
139 Defines a layout.
140
141 === ##ac:layout-cell## ===
142
143 Defines a cell in a layout. See ##ac:layout##.
144
145 === ##ac:layout-section## ===
146
147 Defines a section in a layout. See ##ac:layout##.
148
149 === ##ac:link## ===
150
151 {{code language="xml"}}
152 <p><ac:link ac:card-appearance="inline"><ri:page ri:content-title="Under Page A" ri:version-at-save="2" /><ac:link-body>Under Page A</ac:link-body></ac:link></p>
153 <p><ac:link><ri:user ri:username="UserName" /></ac:link></p>
154 <p><ac:link><ri:user ri:userkey="ff80808156e241950156e468e9510003" /></ac:link></p>
155 <p><ac:link ac:anchor="myanchor"><ac:plain-text-link-body><![CDATA[correctly migrated label]] ></ac:plain-text-link-body></ac:link></p>
156 <p><ac:link ac:tooltip="an empty link"><ac:plain-text-link-body><![CDATA[this page]] ></ac:plain-text-link-body></ac:link></p>
157 <ac:structured-macro ac:name="pagetree" ac:schema-version="1" ac:local-id="7725dd30-f42e-4a74-babd-e3ce084d7398" ac:macro-id="67ee8bead41558eb6e8678e51d4d95665af4b328f23ae8d4b567c27a480b59a6">
158 <ac:parameter ac:name="root">
159 <ac:link><ri:page ri:content-title="@self" /></ac:link>
160 </ac:parameter>
161 <ac:parameter ac:name="startDepth">1</ac:parameter>
162 </ac:structured-macro>
163 {{/code}}
164
165 Defines a link to a page or to a user. Appears directly in a paragraph or in a macro parameter.
166
167 |=Attribute|=Meaning
168 |##ac:card-appearance##|How the link is rendered in Confluence
169 |##ac:anchor##|The target anchor
170 |##ac:tooltip##|The link's tooltip
171
172 * The target of the link (anchor excluded: it is defined as an attribute) is defined in a child ##ri:*## element (ri:url, ri:page, ri:blog-post, ri:space, ri:user).
173 * The body is defined using either:
174 ** an ##ac:plain-text-link-body## element, which defines a plain text body
175 ** an ##ac:link-body## element, which defines a (potentially rich) text body
176
177 If no child element defines any target, the target is by default the current page. It is also possible that a link doesn't have a body. Thus, ##<ac:link />## is a link to the current page.
178
179 === ##ac:link-body## ===
180
181 An element which content defines the body of the surrounding ac:link element. See ac:link.
182
183 === ##ac:macro## ===
184
185 {{code language="xml"}}
186 <ac:macro ac:name="anchor"><ac:default-parameter>anchorintitle</ac:default-parameter></ac:macro>
187 <ac:macro ac:name="code"><ac:plain-text-body><![CDATA[code block text]]></ac:plain-text-body></ac:macro>
188 {{/code}}
189
190 An element that marks the usage of a macro. Probably an older way of doing this, see also ##ac:structured-macro##.
191
192 |=Attribute|=Meaning
193 |##ac:name##|The name of the macro
194
195 The macro parameters are given as child elements (ac:default-parameter [a nameless parameter], and ac:parameter). The body of the macro is given using an ##ac:plain-text-body or an ac:rich-text-body element.##
196
197 === ##ac:parameter## ===
198
199 {{code language="xml"}}
200 <ac:structured-macro ac:name="panel" ac:schema-version="1" ac:macro-id="bc82cb0f-6564-4928-a24c-f325fc29da0f">
201 <ac:parameter ac:name="bgColor">#E3FCEF</ac:parameter>
202 <ac:rich-text-body>
203 <h2><strong>Welcome to your new space!</strong></h2>
204 <p>Spaces help your team structure, organize, and share work, so every team member has visibility into institutional knowledge and access to the information they need to do their best work.</p>
205 </ac:rich-text-body>
206 </ac:structured-macro>
207 {{/code}}
208
209 Specifies the value of the parameter of the given name for the macro in which the node is. The value is in the body of the node.
210
211 |=Attribute|=Meaning|
212 |##ac:name##|The name of the parameter
213
214 === ##ac:placeholder## ===
215
216 {{code language="xml"}}
217 <h2>Discussion items</h2><table><tbody><tr><th>Item</th><th>Notes</th></tr><tr><td><ac:placeholder>Agenda item</ac:placeholder></td><td><ul><li><ac:placeholder>Notes for this agenda item</ac:placeholder></li></ul></td></tr><tr><td>&nbsp;</td><td>&nbsp;</td></tr></tbody></table><h2>Action items</h2><ac:task-list>
218 <ac:task>
219 <ac:task-id>1</ac:task-id>
220 <ac:task-status>incomplete</ac:task-status>
221 <ac:task-body><ac:placeholder ac:type="mention">Type your task here. Use &quot;@&quot; to assign a user and &quot;//&quot; to select a due date.</ac:placeholder><p>&nbsp;</p></ac:task-body>
222 </ac:task>
223 </ac:task-list>
224 {{/code}}
225
226 (% class="wikigeneratedid" %)
227 Defines a placeholder in a space template. Its content is intended for a user to be replaced in when creating a page from a template, and describes what it should be replaced with.
228
229 |=Attribute|=Meaning
230 |##ac:type##|We don't really know.
231
232 === ##ac:plain-text-body## ===
233
234 The plain text body of a macro. From what we have seen, the content is inside a CDATA section.
235
236 === ##ac:plain-text-link-body## ===
237
238 An element which content defines the plain text body of the surrounding ##ac:link## element. See ##ac:link##.
239
240 === ##ac:rich-text-body## ===
241
242 ##The rich-text body of a macro. From what we have seen, t##he content is not inside a CDATA section.
243
244 === ##ac:structured-macro## ===
245
246 {{code language="xml"}}
247 <p>
248 <ac:structured-macro ac:name="livesearch" ac:schema-version="1" ac:local-id="1b06a399-a2ea-4e7f-8605-644926a58266" ac:macro-id="6b3a5eca5933839827ef50a69a6723f4acac920ca178daa759820b3c376858c2">
249 <ac:parameter ac:name="spaceKey">
250 <ri:space ri:space-key="currentSpace()" />
251 </ac:parameter>
252 <ac:parameter ac:name="size">large</ac:parameter>
253 <ac:parameter ac:name="additional">none</ac:parameter>
254 </ac:structured-macro>
255 </p>
256 {{/code}}
257
258 An element that marks the usage of a macro. Formerly (?) ##ac:macro##.
259
260 |=Attribute|=Meaning
261 |##ac:name##|The name of the macro
262 |##ac:local-id##|An id for the macro. Not always there.
263 |##ac:macro-id##|An id for the macro. From what we have seen, it is always present, and unique per Confluence site
264 |ac:schema-version|(((
265 We are not sure, we have seen "1" or "2" as values for this attribute
266 )))
267 |data-layout|We are not sure. it's not always there but we've always ever seen "default" for this attribute
268
269 === ##ac:task## ===
270
271 {{code language="xml"}}
272 <ac:task-list>
273 <ac:task>
274 <ac:task-id>1</ac:task-id>
275 <ac:task-status>incomplete</ac:task-status>
276 <ac:task-body><ac:placeholder ac:type="mention">Type your task here. Use &quot;@&quot; to assign a user and &quot;//&quot; to select a due date.</ac:placeholder><p>&nbsp;</p></ac:task-body>
277 </ac:task>
278 </ac:task-list>
279 {{/code}}
280
281 A task inside a task list, which has an id, a status and a body defined as child elements.
282
283 === ##ac:task-body## ===
284
285 The rich text body of a task, not inside a CDATA section. Can contain block elements like paragraphs.
286
287 === ##ac:task-id## ===
288
289 The identifier of a task, defined as an integer given as a child text node.
290
291 === ##ac:task-list## ===
292
293 A list of tasks containing ac:task elements.
294
295 === ##ac:task-status## ===
296
297 The status of a task, defined as a child text node. We've seen complete and incomplete.
298
299 === at:declarations ===
300
301 {{code language="xml"}}
302 <at:declarations>
303 <at:string at:name="currentDateLozenge" />
304 </at:declarations>
305 {{/code}}
306
307 A template declaration block, inside which space template variables are defined. Variables are fields that are filled by the user when creating a page from a template. Uses of these variables with the at:var element will be replaced with the filled values.
308
309 === at:string ===
310
311 Defines a string template parameter. This is a self-closing tag.
312
313 |=Attribute|=Meaning
314 |##at:name##|The name of the template variable
315
316 === ##at:var## ===
317
318 {{code language="xml"}}<at:declarations>
319 <at:string at:name="currentDateLozenge" />
320 </at:declarations>
321 <h2>Date</h2>
322 <p>
323 <at:var at:name="currentDateLozenge" at:rawxhtml="true" />
324 </p>{{/code}}
325
326
327 |=Attribute|=Meaning
328 |##at:name##|The name of the template variable
329 |##at:rawxhtml##|We don't know what this boolean does
330
331 === ##ri:*## elements ===
332
333 ##ri:*## elements define targets. They appear in the content of ##ac:link## elements, ##ac:image## elements or macro parameters (sometimes inside an ##ac:link## element which is inside an ##ac:parameter## element, we've not found a definitive, consistent rule about this).
334
335 They are usually self-closing tags, from what we've seen.
336
337 ==== ##ri:attachment## ====
338
339 {{code language="xml"}}
340 <ac:image><ri:attachment ri:filename="image.png"><ri:page ri:content-title="page" ri:space-key="SPACE" /></ri:attachment></ac:image>
341 <ri:attachment ri:filename="[email protected]" ri:version-at-save="1" />
342 {{/code}}
343
344 Targets an attachment. This one is *not* a self-closing tag. **Its content further refines where to find the attachment, with an ri:page or ri:space element.** If absent, the attachment is on the current page. If the ri:space element is used, the attachment is to be found in the home page.
345
346 |=Attribute|=Meaning
347 |##ri:filename##|The filename of the attachment
348 |##ri:version-at-save##|Not always there, supposedly the version of the attachment when the content was edited (an integer corresponding to the version parameter of the Attachment object)
349
350 {{warning}}
351 On XWiki, ##@## typically separate the page name and the attachment filename, but it is a valid character in attachment filename and we've seen this in the wild. See https://jira.xwiki.org/browse/CONFLUENCE-378
352 {{/warning}}
353
354 ==== ##ri:url## ====
355
356 {{code language="xml"}}
357 <ri:url ri:value="image.png" />
358 <ri:url ri:value="https://twitter.com/XWiki/status/1808056434883502509"/>
359 {{/code}}
360
361 Defines a relative URL (usually to an attachment), or an absolute URL
362
363 |=Attribute|=Meaning
364 |##ri:value##|the relative or absolute URL
365
366 ==== ##ri:page## ====
367
368 {{code language="xml"}}
369 <ri:attachment ri:filename="file.png">
370 <ri:page ri:content-title="My Page" ri:space-key="SPACE" />
371 </ri:attachment>
372 {{/code}}
373
374
375 |=Attribute|=Meaning
376 |##ri:content-title##|The content title of the targeted page. Can be a special "@" value like ##@self## (the current page) or ##@home## (the home page of the given space)
377 |##ri:space-key##|The space in which to find the content type. If not present, the current space is to be used, **//unless the space is given separately//** (e.g. in another macro parameter - for example, the view-file macro is like this)
378 |##ri:version-at-save##|Not always there, supposedly the version of the page when the link was added (an integer corresponding to the version parameter of the Page object)
379
380 ==== ##ri:blog-post## ====
381
382 {{code language="xml"}}
383 <ac:link><ri:blog-post ri:content-title="Blog post" ri:posting-day="2023/09/27" /></ac:link>
384
385 {{/code}}
386
387 Targets a blog post. Otherwise similar to ri:page.
388
389 |=Attribute|=Meaning
390 |##ri:content-title##|(((
391 The content title of the targeted page. Supposedly, can be a special "@" value like ##@self## (the current page)
392 )))
393 |##ri:posting-day##|An ##YYYY/MM/DD## date of when the target blog post was posted
394 |##ri:space-key##|Supposedly possibly present. The space in which to find the content type. If not present, the current space is to be used, **//unless the space is given separately//** (e.g. in another macro parameter - for example, the ##view-file## macro is like this)
395 |##ri:version-at-save##|Supposedly possibly present. Supposedly the version of the page when the link was added (an integer corresponding to the version parameter of the ##BlogPost## object)
396
397 ==== ##ri:space## ====
398
399 {{code language="xml"}}
400 <ri:space ri:space-key="DEMO" />
401
402 <ac:structured-macro ac:name="livesearch" ac:schema-version="1" ac:local-id="1b06a399-a2ea-4e7f-8605-644926a58266" ac:macro-id="6b3a5eca5933839827ef50a69a6723f4acac920ca178daa759820b3c376858c2">
403 <ac:parameter ac:name="spaceKey">
404 <ri:space ri:space-key="currentSpace()" />
405 </ac:parameter>
406 <ac:parameter ac:name="size">large</ac:parameter>
407 <ac:parameter ac:name="additional">none</ac:parameter>
408 </ac:structured-macro>
409 {{/code}}
410
411 Targets a space.
412
413 |=Attribute|=Meaning
414 |##ri:space-key##|The space in which to find the content type. Can be a special value like ##currentSpace()##
415
416 ==== ##ri:user## ====
417
418 {{code language="xml"}}
419 <ac:link><ri:user ri:username="UserName" /></ac:link>
420 <ac:link><ri:user ri:account-id="ff80808156e241950156e468e9510003" /></ac:link>
421 <ac:link><ri:user ri:userkey="ff80808156e241950156e468e9510003" /></ac:link>
422 {{/code}}
423
424 Targets a user. We describe three parameters we've seen to specify the users and only one is present at a time from what we've seen.
425
426 |=Attribute|=Meaning
427 |##ri:username##|The username of the target user
428 |##ri:account-id##|The account id of the target user
429 |##ri:userkey##|The user key of the target user
430
431 === ##ac:adf-extension## ===
432
433 {{code language="xml"}}
434 <ac:adf-extension>
435 <ac:adf-node type="panel">
436 <ac:adf-attribute key="panel-type">note</ac:adf-attribute>
437 <ac:adf-content>
438 <p>This is a note (woaw)</p>
439 </ac:adf-content>
440 </ac:adf-node>
441 <ac:adf-fallback>
442 <div class="panel conf-macro output-block" style="background-color: rgb(234,230,255);border-color: rgb(153,141,217);border-width: 1.0px;">
443 <div class="panelContent" style="background-color: rgb(234,230,255);">
444 <p>This is a note (woaw)</p>
445 </div>
446 </div>
447 </ac:adf-fallback>
448 </ac:adf-extension>
449
450 {{/code}}
451
452 Some sort of macro (which we will call ADF macro) with a fallback.
453
454 === ##ac:adf-fallback## ===
455
456 The XHML fallback to use (given in the content of the node) if the macro is not supported.
457
458 === ##ac:adf-node## ===
459
460 The non-fallback definition of the ADF macro.
461
462 |=Attribute|=Meaning
463 |##ri:type##|The name of the ADF macro
464
465 === ##ac:adf-attribute## ===
466
467 An ADF macro parameter. The value is given in the content of the node.
468
469 |=Attribute|=Meaning
470 |##key##|the name of the parameter
471
472 === ##ac:adf-content## ===
473
474 The content of the macro, given in the content of the node.
475
476 === ##ac:adf-mark## ===
477
478 {{code language="xml"}}
479 <ac:image ac:align="left" ac:layout="align-start" ac:original-height="1200" ac:original-width="1200" ac:custom-width="true" ac:alt="some alt text" ac:width="50">
480 <ri:attachment ri:filename="rock.jpg" ri:version-at-save="1" />
481 <ac:caption>
482 <p>sos<em>asdas</em>ame ca<strong>sasd</strong>ion</p>
483 </ac:caption>
484 <ac:adf-mark key="border" size="2" color="#091e4224" />
485 </ac:image>
486
487 {{/code}}
488
489 Seems to define styling. Seen as a direct child of the ac:image macro. The possible parameters might depend the value of the ##key## attribute
490
491 |=Attribute|=Meaning
492 |##key##|The type of mark. We know about "border"
493 |##size## (for ##key="border"##)|The size of the border
494 |##color## (for ##key="border"##)|The color of the border
495
496 = Standard HTML tags with specific considerations =
497
498 === ##img## ===
499
500 {{code language="html"}}
501 <img class="emoticon emoticon-warning" title="(warning)" src="http://confluence.atlatian.net/s/en_US/7901/4635873c8e185dc5df37b4e2487dfbef570b5e2c/_/images/icons/emoticons/warning.svg" alt="(warning)" border="0" />
502 {{/code}}
503
504 Formerly used to represent emoticons. See [[ac:emoticon>>||anchor="Hac:emoticon"]]. And possibly regular images.
505
506 === ##a## ===
507
508 Defines a link in some text, or in a macro parameter. Works like the usual XHTML element of the same name. See also [[ac:link>>||anchor="Hac:link"]].
509
510
511 == Quirks ==
512
513 === Remains of the WYSIWYG editor's cursor ===
514
515 Confluence XHTML documents are full of {{code language="html"}}<p class="auto-cursor-target"><br /></p>{{/code}} elements. They need to be cleaned up because they are artifacts of the wysiwyg edition and they don't do anything in Confluence. However, they would cause new lines in XWiki if not handled carefully.
516
517 See:
518
519 * [[https:~~/~~/jira.xwiki.org/browse/CONFLUENCE-399>>https://jira.xwiki.org/browse/CONFLUENCE-399]]
520 * [[https:~~/~~/jira.xwiki.org/projects/CONFLUENCE/issues/CONFLUENCE-208?>>https://jira.xwiki.org/projects/CONFLUENCE/issues/CONFLUENCE-208?]]
521
522 === Some inline macros are outside the paragraph inside which they are supposed to be ===
523
524 And instead, we have a paragraph (p tag), then this inline macro outside any paragraph, and then a new p tag.
525
526 We believe this is caused by some third party extensions, that this also creates issues in Confluence (including in edit mode), but some hack probably make it so that these inline macros seem like this whole paragraph -inline macro - paragraph chain is a unique paragraph.
527
528 We don't currently handle this at all because it seems complicated to do given how the [[XHTML parsing is done>>xwiki:documentation.extensions.dev.confluence.xhtml-parsing.WebHome]].

Get Connected