Details
-
Bug
-
Resolution: Unresolved
-
Low
-
2
-
Minor
-
0
-
Description
Issue Summary
When we paste an anchor or header link to a page creates static links instead of dynamic ones.
Steps to Reproduce
- Create a new page called Page A.
- Create a new page called Page B.
- On the Page B create a header and an anchor.
- On the Page A create a link to the header and anchor from Page B.
If you export those pages to HTML the links are static and point to the web instead of the html links.
Expected Results
Create dynamic links using ac:link instead of href:
<ac:link ac:card-appearance="inline"><ri:page ri:content-title="Page B#Anchor" ri:version-at-save="X" /><ac:link-body>Page B</ac:link-body></ac:link>
OR
<ac:link ac:card-appearance="inline"><ri:page ri:content-title="Page B#Header" ri:version-at-save="X" /><ac:link-body>Page B</ac:link-body></ac:link>
Actual Results
It creates the following static links using href instead of ac:link:
<a href="https://<SITENAME>.atlassian.net/wiki/spaces/<SPACKEY>/pages/<CONTENTID>/Page+B#Anchor" data-card-appearance="inline"><SITENAME>.atlassian.net/wiki/spaces/<SPACKEY>/pages/<CONTENTID>/Page+B#Anchor</a>
OR
<a href="https://<SITENAME>.atlassian.net/wiki/spaces/<SPACKEY>/pages/<CONTENTID>/Page+B#Header" data-card-appearance="inline"><SITENAME>.atlassian.net/wiki/spaces/<SPACKEY>/pages/<CONTENTID>/Page+B#Header</a>
Workaround
Currently, there is no known workaround for this behavior. A workaround will be added here when available.
Attachments
Issue Links
- is related to
-
CONFCLOUD-23324 Space PDF Export - links to page anchors does not work properly
- Closed