NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      When creating a template page if you create an anchor and then try to link a text on the page with this anchor you get "The markup provided is not valid link markup" message.

      Workaround

      A workaround for it would be first creating it on a normal page, copy the content and paste on the template page, so the link will work then.

          Form Name

            [CONFSERVER-26897] Not able to link text to an anchor on a template page.

            When is this bug backporting to the Enterprise versions of 7.4 and 6.13?
            (or is it already, please? )

            Thanks!
            Rick

            Rick Carini added a comment - When is this bug backporting to the Enterprise versions of 7.4 and 6.13? (or is it already, please? ) Thanks! Rick

            A fix for this issue is available to Server and Data Center customers in Confluence 7.5.0
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            James Whitehead added a comment - A fix for this issue is available to Server and Data Center customers in Confluence 7.5.0 Upgrade now or check out the Release Notes to see what other issues are resolved.

            A fix for this issue is available to Server and Data Center customers in Confluence 7.2.1 Upgrade now or check out the Release Notes to see what other issues are resolved.

            Oliver Shen added a comment - A fix for this issue is available to Server and Data Center customers in Confluence 7.2.1 Upgrade now or check out the Release Notes to see what other issues are resolved.

            It´s happend also in Confluence Server 6.14.3

            Internal issue (GESTIC-32073)

            Oficina Calidad y Mejora Continua added a comment - - edited It´s happend also in Confluence Server 6.14.3 Internal issue (GESTIC-32073)

            Marcos Sanchez added a comment - - edited

            Hi,

            It's happening also in 6.12.4, it's unbelievable that it's still not solved...

            This bug is really messy. It blocks my teamwork due to template needings.

             

            This is a kind of workaround but it is really akward:

            Reference the anchor [ # anchorname ]. It creates a broken link but when you create the page using the template and saving the page it works.

             

             

            Marcos Sanchez added a comment - - edited Hi, It's happening also in 6.12.4, it's unbelievable that it's still not solved... This bug is really messy. It blocks my teamwork due to template needings.   This is a kind of workaround but it is really akward: Reference the anchor [ # anchorname ]. It creates a broken link but when you create the page using the template and saving the page it works.    

            This work around solved my trouble. 

            Step1: Add a HTML macro. 

            Step2: Add the below code in the HTML Section: 

            <div><a onClick="window.scrollTo(0, 0);">Back to top</a></div>

            venu gopal added a comment - This work around solved my trouble.  Step1: Add a HTML macro.  Step2: Add the below code in the HTML Section:  <div><a onClick="window.scrollTo(0, 0);">Back to top</a></div>

            This bug is really blocking my workflow too.

            I have some images I'm using as links to pages and anchors..

            I've read that the solution to get anchor links working is to copy and paste the link with the acnhor... but copy and pasting images in templates doesn't work due to either a bug or major design flaw: https://jira.atlassian.com/browse/CONFSERVER-45200

            Is there a workaround for having images with links to anchors in templates?

            Mark O'Shea added a comment - This bug is really blocking my workflow too. I have some images I'm using as links to pages and anchors.. I've read that the solution to get anchor links working is to copy and paste the link with the acnhor... but copy and pasting images in templates doesn't work due to either a bug or major design flaw: https://jira.atlassian.com/browse/CONFSERVER-45200 Is there a workaround for having images with links to anchors in templates?

            Issue still available in confluence 6.15.2.

            Welcome to 2019. Here, get some tea and cookies, it will take a while

            Marie Endres added a comment - Issue still available in confluence 6.15.2. Welcome to 2019. Here, get some tea and cookies, it will take a while

            Affect also Confluence 6.12.2.

            Cannot believe this is still not solved (2012)..

             

            Michael

            Michael Regelin added a comment - Affect also Confluence 6.12.2. Cannot believe this is still not solved (2012)..   Michael

            It is essential that this bug is fixed for the type of documentation that we create.

            I'm glad it's actually in progress, but would like to know if we can expect an update soon - by the looks of it the bug was reported six years ago...

            Jennifer Hemmens added a comment - It is essential that this bug is fixed for the type of documentation that we create. I'm glad it's actually in progress, but would like to know if we can expect an update soon - by the looks of it the bug was reported six years ago...

              oshen@atlassian.com Oliver Shen
              fdefreitas FernandoA
              Affected customers:
              150 This affects my team
              Watchers:
              139 Start watching this issue

                Created:
                Updated:
                Resolved: