My code inside a code block has anchors being created when a period is used. For example an sql block like this:
select a.column1 , b.column2
from tablea a, tableb b
where a.column1 = b.column1;
all of the instance of a. and b. are turned into hyperlinks to https://<confluence url>/a.column1
What version of Confluence are you using? I have tried using the code block macro and your text above in both my Confluence Server and Confluence Cloud environment and I don't see the behavior you are seeing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmmm. I've tried this on my 6.8.1 and 6.12.2 environments and do not see that behavior. Do you have the Confluence Source Editor app? If you don't it's made by Atlassian and free. It lets you edit the storage format code behind a page. If you do I would look at the storage format behind your code block macro and see is something wonky snuck in somehow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks David. I've asked my admin to take a look. I will update with what he finds.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can reproduce the same behavior with and without the SQL formatting in the same version as Eddie.
Here is the test:
The View Source Format looks like:
<ac:structured-macro ac:name="code" ac:schema-version="1" ac:macro-id="8752248f-b279-43a3-a254-ea21a404f861">
<ac:plain-text-body>
<![CDATA[acolumn a.column1]]>
</ac:plain-text-body>
</ac:structured-macro>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks like maybe you are experiencing this bug.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for finding that! We'll have to do an upgrade soon.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.