Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Some text imported to a wiki page is double spaced, some single

Kevin Raeder November 8, 2024

I used the same method to import the text from an ascii file: <ctl>-c and <ctl>-v.  Sometimes it double-spaced the lines.  Other times it single spaced them.  I "inspected" the page and I see that there are <p>...</p> around each double spaced line, so the editor thought that each line is a paragraph.  The single spaced lines are all within a single <p>...</p> and have <br> between them. There are no blank characters at the ends of the lines, and no tabs in the lines.Screen Shot 2024-11-08 at 1.55.52 PM.png

How can I either convert the double spaced text to single, or import it in a way that makes it single spaced?

I tried <ctl>+<shift>-v and <cmd>+<shift>-v, but neither helped.  Removing the blanks at the beginnings of the lines doesn't help.

More abstractly; why does the editor enable me to control horizontal spacing several ways, but no way to control vertical spacing (other than empty lines)?

2 answers

0 votes
Kevin Raeder February 27, 2025

I use vim in a Mac XQuartz *nix environment.  My understanding is that it's just ascii text with newline (\n) at the end of each line.  There are no carriage returns (\r).

I've attached a screenshot of the original text with spaces colored red and tabs with a green outline (there are none).  The lines after "Instructions" were added first.  Then Instructions, with header formatting added, then the lines before Instructions.  I've since noticed that when I first edit an attlassian page, the imported text keeps its single spacing.  But if I apply some kind of formatting to some of the text, then ascii text I enter subsequently gets double spaced.  So the formatting I add seems to change the mode of text entry.

0 votes
Brant Schroeder
Community Champion
February 27, 2025

@Kevin Raeder What application are you using to create your ascii text in.  That is the place that you should be checking the formatting in.

Kevin Raeder February 27, 2025

Screenshot 2025-02-27 at 1.06.42 PM.png

I use vim in a Mac XQuartz *nix environment.  My understanding is that it's just ascii text with newline (\n) at the end of each line.  There are no carriage returns (\r).

I've attached a screenshot of the original text with spaces colored red and tabs with a green outline (there are none).  The lines after "Instructions" were added first.  Then Instructions, with header formatting added, then the lines before Instructions.  I've since noticed that when I first edit an attlassian page, the imported text keeps its single spacing.  But if I apply some kind of formatting to some of the text, then ascii text I enter subsequently gets double spaced.  So the formatting I add seems to change the mode of text entry.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events