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

            Bug ID: 478992
           Summary: Ghostwriter replaces nonbreaking space on save
    Classification: Applications
           Product: ghostwriter
           Version: 23.08.4
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
Opening and saving a markdown file replaces nonbreaking spaces with spaces.

This happens on save: The GUI is able to show and preserve nonbreaking spaces
through opening, editing and saving (by configuring to "show unbreakable
space"), but what actually gets saved is replaced.

STEPS TO REPRODUCE
1. printf '\xC2\xA0' > nbsp.md
2. ghostwriter nbsp.md
3. In Ghostwriter, press Ctrl+SQ

OBSERVED RESULT

xxd nbsp.md
00000000: 20

EXPECTED RESULT

xxd nbsp.md
00000000: c2a0

SOFTWARE/OS VERSIONS
Using pandoc version 3.1.9
KDE Frameworks 5.112.0
Qt 5.15.11
openSUSE Tumbleweed 20231214

ADDITIONAL INFORMATION

Kate preserves nonbreaking space.

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

Reply via email to