<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:philipz85@hotmail.com" title="Yousuf Philips (jay) <philipz85@hotmail.com>"> <span class="fn">Yousuf Philips (jay)</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - EDITING: Autocorrect can't be undone immediately after inserting a new line"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=44062">bug 44062</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>momonasmon@gmail.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Blocks</td>
           <td>
                
           </td>
           <td>107733
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - EDITING: Autocorrect can't be undone immediately after inserting a new line"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=44062#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - EDITING: Autocorrect can't be undone immediately after inserting a new line"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=44062">bug 44062</a>
              from <span class="vcard"><a class="email" href="mailto:philipz85@hotmail.com" title="Yousuf Philips (jay) <philipz85@hotmail.com>"> <span class="fn">Yousuf Philips (jay)</span></a>
</span></b>
        <pre>From my duplicate bug.

Steps:
1) Open Writer
2) Type '<a href="http://libreoffice.org/">http://libreoffice.org/</a>'
3) Press spacebar
4) Check undo list and there will be an entry for 'Typing: " "' and
'AutoCorrect'
5) Press undo to remove the auto hyperlinking of the text
6) Press undo a second time to remove the space
7) Press enter
8) Check undo list and there will be 2 entries for 'Apply attributes' and 1
entry for 'New Paragraph'
9) Press undo once will not remove auto hyperlinking as 'New paragraph' is the
first undo in the list

So the workaround is to press spacebar, undo, then enter, then remove the space
from the previous row.

Version: 5.4.0.0.alpha0+
Build ID: 74ccd02eda2d6325a27266fd935aba29b3d75020
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time:
2017-04-27_23:51:14
Locale: en-US (en_US.UTF-8); Calc: group

@Maxim: Would it be simple to move the 'New Paragraph' undo entry before the
'Apply attributes' and any idea why 'Apply attributes' is appearing rather than
'AutoCorrect'?</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] Hyperlink bugs and enhancements"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107733">Bug 107733</a>] [META] Hyperlink bugs and enhancements
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>