Pages: [1]   Go Down

Author Topic: Underline formatting doesn't work  (Read 1130 times)

LesPalenik

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 5339
    • advantica blog
Underline formatting doesn't work
« on: May 13, 2020, 07:21:01 pm »

Maybe just in a combination with another formatting option.
For example, a sentence is in bold, and part of that sentence is underlined. The preview mode shows it correctly, but when you save it (Post), the underlining disappears.
 
Logged

Eric Myrvaagnes

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 22814
  • http://myrvaagnes.com
    • http://myrvaagnes.com
Re: Underline formatting doesn't work
« Reply #1 on: May 14, 2020, 08:26:31 am »

I've never combined them, so let me try it:
This part is underlined, this part is bold, this part is bold and underlined; this part is plain.

It does look right in the preview.
Logged
-Eric Myrvaagnes (visit my website: http://myrvaagnes.com)

Eric Myrvaagnes

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 22814
  • http://myrvaagnes.com
    • http://myrvaagnes.com
Re: Underline formatting doesn't work
« Reply #2 on: May 14, 2020, 08:29:04 am »

Try again, closer to your description:

"A sentence is in bold, and part of that sentence is underlined."

This seems to work, too.

"A sentence is in bold, and part of that sentence is underlined"[/u].

I switched the "[/u]" to outside the "[/b]" so the nesting was incorrect. It still almost worked.
Can you show us an example?
« Last Edit: May 14, 2020, 08:33:28 am by Eric Myrvaagnes »
Logged
-Eric Myrvaagnes (visit my website: http://myrvaagnes.com)

LesPalenik

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 5339
    • advantica blog
Re: Underline formatting doesn't work
« Reply #3 on: May 14, 2020, 11:22:35 am »

Eric,

thank you for your reply. It obviously works in your example.
I tried it again, and I'm getting intermittent results - with the same browser, but in two different tabs.

I'm attaching two files (screen shots from the same post) which show different effects.

Here is the actual text as entered ([] substituted with <>):
<b>A single sneeze releases about 30,000 droplets, with <u>droplets traveling at up to 200 miles per hour.</u></b> Most droplets are small and travel great distances (easily across a room).

I'm using Opera browser on Windows 8.1, so maybe that's where is the problem.

EDIT:
One more  thing. I tried it again (in the same browser tab), and the preview shows it correctly with underlining, whereas viewing the completed post shows it without the underline.
« Last Edit: May 14, 2020, 12:00:56 pm by LesPalenik »
Logged

Eric Myrvaagnes

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 22814
  • http://myrvaagnes.com
    • http://myrvaagnes.com
Re: Underline formatting doesn't work
« Reply #4 on: May 15, 2020, 11:20:13 am »

That is weird, because Opera (on Windows 10) is the browser I use for LuLa.

One more thing you might try (as a possible workaround:)

Instead of nesting the <u> inside the <b> section, try closing the firat part of the <b> section, and then enclose the rest of the line with either <u><b>...<b><u>  or <b><u>...<u><b>.
Logged
-Eric Myrvaagnes (visit my website: http://myrvaagnes.com)

LesPalenik

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 5339
    • advantica blog
Re: Underline formatting doesn't work
« Reply #5 on: May 15, 2020, 06:05:01 pm »

That is weird, because Opera (on Windows 10) is the browser I use for LuLa.

One more thing you might try (as a possible workaround:)

Instead of nesting the <u> inside the <b> section, try closing the first part of the <b> section, and then enclose the rest of the line with either <u><b>...<b><u>  or <b><u>...<u><b>.

I tried it both ways. When in edit (Preview) mode, the underlining takes place, but after I save it, the underlining disappears.

<b>A single sneeze releases about 30,000 droplets, with</b> <u><b>droplets traveling at up to 200 miles per hour.</b></u> Most droplets are small and travel great distances (easily across a room).

I displayed the edited post both in Opera and in Chrome, and I see the same result (bold is visible, but underlining disappeared). So it appears that the nested <b> and <u> codes misbehave. The strange thing is that in your example it worked correctly.

BTW, when I transpose the closing </b> and </u> codes, the last </b> doesn't seem necessary for formatting, and it displays as shown in the red circle. After removing that code, the bold portion still displays correctly, so it seems that the browser interprets the closing underline code </u> as the end of the formatting sequence.
 
Please, try to view that post and let me know if you see the underlining in the bottom sentence.
https://forum.luminous-landscape.com/index.php?topic=134356.msg1170771#msg1170771

LuLa forum administrator, can you shed some light on it?
« Last Edit: May 16, 2020, 04:40:36 am by LesPalenik »
Logged

Jeremy Roussak

  • Administrator
  • Sr. Member
  • *****
  • Offline Offline
  • Posts: 8961
    • site
Re: Underline formatting doesn't work
« Reply #6 on: May 16, 2020, 03:48:49 am »

Please, try to view that post and let me know if you see the underlining in the bottom sentence.
https://forum.luminous-landscape.com/index.php?topic=134356.msg1170771#msg1170771

Looks fine to me in Safari, Opera and Chrome under Catalina.

Jeremy
Logged

Eric Myrvaagnes

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 22814
  • http://myrvaagnes.com
    • http://myrvaagnes.com
Re: Underline formatting doesn't work
« Reply #7 on: May 16, 2020, 10:59:09 am »

Les,

Is your Opera the latest version? mine was updated early this year (I can't find a version number, but the date is 2020.)
Logged
-Eric Myrvaagnes (visit my website: http://myrvaagnes.com)

LesPalenik

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 5339
    • advantica blog
Re: Underline formatting doesn't work
« Reply #8 on: May 16, 2020, 11:54:36 am »

Yes, Eric, it says it's up to date. Version:68.0.3618.104
Logged
Pages: [1]   Go Up