Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
9.83.1
-
None
-
Unknown
-
Description
When a reference tag (<a>) is used in a macro parameter, setAccumulateContent(true) is called. This remains active for all the reference tags following this macro parameter and this eats labels for links specified using <a> tags appearing after this label.
For instance, for a page containing:
<a href="http://url">label1</a> <ac:structured-macro ac:name="somemacro"><ac:parameter name="url"><a href="http://perdu.com">Perdu</a></ac:parameter></ac:structured-macro> <a href="http://url">label2</a>
label1 will be migrated, but label2 will be lost.
This is a case where a global state exists without us noticing.