https://bugs.kde.org/show_bug.cgi?id=394545

            Bug ID: 394545
           Summary: katepart does not recognize \n in empty/pure
                    whitespace line and at EOF in find/replace
           Product: kate
           Version: 17.12.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: part
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: samj...@gmail.com
  Target Milestone: ---

I am using Kate/KWrite on a fresh install of Kubuntu Bionic.

I was trying to manually convert a plaintext file to HTML so tried to replace
'\n' (without quotes of course) to '<br />\n' but I found that <br /> isn't
added to empty lines or lines with pure whitespace (line below ddf in following
example has a space) and the last line:

BEFORE FIND/REPLACE:

sadfasdf
asdfas

asdfl
asdfflsdflasd
ddf


adflkasf
asflkaflkasf

AFTER FIND/REPLACE:

sadfasdf<br />
asdfas

asdfl<br />
asdfflsdflasd<br />
ddf<br />


adflkasf<br />
asflkaflkasf

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to