Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Windows network path names (with double backslash) are not formatted properly

Aurik Sarker March 20, 2024

Basically, if a line begins with double backslash (as is the case with Windows paths on a shared drive), it gets split awkwardly.

 

Try adding this text to a confluence page

\\Drive\Folder\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\ 

Notice that confluence inserts a new line in between the first two backslashes, causing the first line to have only one character

 

When forward slashes are used instead of backslashes, the formatting is correct - i.e. there is no weird split

//Drive/Folder/Path/Path/Path/Path/Path/Path/Path/Path/Path/Path/Path/Path/Path/Path/Path/Path/Path/Path/Path/Path/Path/Path/Path/Path/Path/Path/

 

The formatting using double backslashes should match the formatting with forward slashes

 

1 answer

1 accepted

1 vote
Answer accepted
Shawn Doyle - ReleaseTEAM
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 20, 2024

Have you tried putting in a code block?  That should not change the formating.  

Aurik Sarker March 21, 2024

This is what happens when I use code formatting (top) vs the code snippet element (bottom)

Screenshot 2024-03-22 at 1.12.36 AM.png

 

The code snippet does prevent the formatting issue, but is not ideal to use within contexts. For example, in my documents, paths are referenced inline with text as well as in bulleted lists. In these cases, the "code formatting" option is preferable to use, and where the formatting issue occurs.

Aurik Sarker March 25, 2024

Basically, I don't think the formatting should be like this - why would a backslash end up on its own line?

The formatting with forward slashes makes a lot more sense.

Shawn Doyle - ReleaseTEAM
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 25, 2024

I just tested this on my cloud instance and not seeing the same behavior.

conf_paths.png

So going back to the drawing board.. what addons are in play on your site? something is messing with you.

Aurik Sarker March 25, 2024

The one I know we have installed is the Swagger add-on for inline LaTeX equations, but I dont think that is coming into play here. We have any other plugins installed (though I may be wrong).

It is strange that you dont see the same issue, but I have seen this issue even outside of our Confluence. We can replicate the issue in this forum itself, as demonstrated here

\\Drive\Folder\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\Path\

Shawn Doyle - ReleaseTEAM
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 26, 2024

This displays correctly for me.  Can you try with a different browser or in incognito mode?

path_display.png

Like Aurik Sarker likes this
Aurik Sarker March 26, 2024

Ahh, I have been using Firefox.

When I switched to Safari, the issue did not appear.

 

Is there any way to prevent this issue without having to switch browsers? Any settings that can be changed?

Shawn Doyle - ReleaseTEAM
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 27, 2024

I don't believe so, it's something in Firefox that is causing it.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events