The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

Indenting existing paras adds extra linefeeds

Forums » Opera for Windows/Mac/Linux » Opera mail, chat and news

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

5. November 2011, 21:03:43

paul1149

Posts: 441

Indenting existing paras adds extra linefeeds

Hi guys,

Little bug here. Whenever I Select and then Indent paragraphs, M2 does me the courtesy of adding extra linefeeds among them. So I then must parse through the passage and remove them manually.

It would be nice if that didn't happen.

Thanks,
p.
O 12.14 on Win7/32bit

6. November 2011, 07:30:46

burnout426

Posts: 13202

Please be more specific. Need exact steps to reproduce the problem. How are you indenting? Is this in HTML compose mode?

6. November 2011, 12:34:20

paul1149

Posts: 441

Yes, html mode.
  1. Copy text from the Web.
  2. Select text, hit Indent icon in Toolbar.
Linefeeds within the selection will be doubled.
O 12.14 on Win7/32bit

6. November 2011, 15:03:22

burnout426

Posts: 13202

You can test what's happening by viewing the source of the draft for the message you're composing.

In a blank HTML message, type "Line1", press ENTER and then type "Line2".

This is what you get for the markup:

<div>Line1</div>
<div>Line2</div>


Then, select both lines and click the indent button and this is what you get:

<div>
    <blockquote>Line1</blockquote>
</div>
<div>
    <blockquote>Line2</blockquote>
</div>


That explains the big top and bottom margins (not actual line feeds) between each line.

I assumed that:

<blockquote>
    <div>Line1</div>
    <div>Line2</div>
</blockquote>


is what you expect. (Try Insert -> HTML in a blank message to see.)

I don't know what behavior is the intended behavior for Opera, but if you think it's a bug, you can file on it and include the details. You can mention this thread in the report too and post the bug number here minus the @... part.

6. November 2011, 15:33:03

paul1149

Posts: 441

Sorry, I'm not finding View Source on the Compose page, so I can't play with this. I thought I was getting double-taps on the linefeeds because the fix was the Delete key.
O 12.14 on Win7/32bit

6. November 2011, 16:21:09

burnout426

Posts: 13202

While composing the message, leave the message open and goto its draft in "All Messages/Drafts". Then, right-click on the draft message and choose "view all headers and message".

6. November 2011, 16:40:29

paul1149

Posts: 441

Ok,yes, your analysis is perfect. I've filed this.

Thanks,
p.
O 12.14 on Win7/32bit

Forums » Opera for Windows/Mac/Linux » Opera mail, chat and news