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

            Bug ID: 487636
           Summary: Syntax highlighting not working on non ASCII
                    characters (most specifically french)
    Classification: Applications
           Product: ghostwriter
           Version: 23.08.5
          Platform: NixOS
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: megan.con...@kdemail.net
          Reporter: julien.lejoly2...@gmail.com
  Target Milestone: ---

Created attachment 169880
  --> https://bugs.kde.org/attachment.cgi?id=169880&action=edit
A screenshot of the bug described above

I'm writing a Markdown document in French, but the syntax highlighting such as
marking as italic or bold doesn't work when it involves characters such as "é"
or "è" at the beginning or end of sequence.

STEPS TO REPRODUCE
1. Open a new Ghostwriter Markdown document
2. Write the following content in it: 

- **Hello World**
- **Héllo World**
- **éllo world**
- **Hello worldé**

OBSERVED RESULT

The first two lines are rendered properly, but the last two (when there is a
"é" character at beginning or end) aren't. I've attached a screenshot of the
result to this report.

EXPECTED RESULT

I would have expected the syntax highlighting to behave the same way as it
would do for ASCII characters.

SOFTWARE/OS VERSIONS
Ghostwriter version is 23.08.5 because I wasn't able to install a more recent
version of it. I am sorry for the inconvenience, if this bug has been fixed in
a later version. 

ADDITIONAL INFORMATION

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

Reply via email to