Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

A new Code Formatting problem for me

Engaged ,
May 10, 2017 May 10, 2017

Copy link to clipboard

Copied

I find a new but recurring situation that I want to correct. It deals with assigning a URL to a text hyperlink.

After selecting the text that's to receive the link, I paste into the Link field of the properties pane the copied URL. I then press Return.

For no apparent reason, the markup gets broken into three lines,as shown on "lines 14 through 17" in the first of two screen shots.

Screen Shot 2017-05-05 at 1.00.28 PM.png

I must use delete to raise each entry to the appropriate line in the markup, as shown in the second screen shot.

Screen Shot 2017-05-05 at 1.01.35 PM.png

...

This problem rears its ugly head whenever I activate "Apply Source Formatting" to an existing page that has URLs entered in the markup. For example, in my next screen shot, the formatting for the string of links looks as it should. . .

Screen Shot 2017-05-10 at 1.36.31 PM.png

. . . but when I activate "Apply Source Formatting," each of those links gets broken into several components that drop onto the next line. See it here. . .

Screen Shot 2017-05-10 at 1.33.30 PM.png

Which preference affects this formatting?  How can I control it so this doesn't continue to happen?

Thanks, in advance, for your help with this.

Warren

Views

296
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 10, 2017 May 10, 2017

Copy link to clipboard

Copied

Go to Tools > Tag Libraries
Under HTML tags, highlight the "a" folder

In the Tag format options, change the setting to "No Line Breaks" (I'm betting you have "before, inside, after" set)
Hit OK
On the pages, use Apply Source Formatting again and it should repair the issue.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
May 10, 2017 May 10, 2017

Copy link to clipboard

Copied

LATEST

Hoooooo-ray! You "bet" correctly, Jon. It now formats the markup as it should.

I appreciate your prompt and very helpful directive.

Warren

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines