Skip to content

[BUG] Editing html with javascript containing Backticks makes a mess after the last Backtick #15792

@scalpa98

Description

@scalpa98

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

Editing html with javascript containing Backticks makes a mess after the last Backtick. The syntax coloration turn into a mess : all the remaining code becomes dark on white background.
bug

Steps To Reproduce

  1. Write html code
  2. Write javascript with back-tick inside
  3. See the result by watching the rest of the code below the last back-ticks

Current Behavior

the syntax color becomes a mess all the text becomes dark on white background.

Expected Behavior

Keeping good syntax coloration even when using back-ticks in the javascript include in a html file.

Debug Information

Notepad++ v8.7   (64-bit)
Build time : Sep 17 2024 - 17:06:31
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : "Y:\FLE\index.php"
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 10 Pro (64-bit)
OS Version : 22H2
OS Build : 19045.5011
Current ANSI codepage : 1252
Plugins : 
    DSpellCheck (1.4.24)
    HTMLTag (1.3.5)
    mimeTools (3.1)
    nppAutoDetectIndent (2.3)
    NppConverter (4.6)
    NppExport (0.4)
    XMLTools (3.1.1.13)

Anything else?

bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    lexilla dependentCan't be considered for N++ implementation unless/until Lexiilla changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions