diff2html icon indicating copy to clipboard operation
diff2html copied to clipboard

Unrecognised input. Possibly missing opening '{'

Open THU-Yu opened this issue 1 year ago • 2 comments

  • diff2html version: 3.4.48

I encountered the following error:

  • Unrecognised input. Possibly missing opening '{' in ./node_modules/.pnpm/[email protected]/node_modules/diff2html/bundles/css/diff2html.min.css (line 1, column 1743)

It seems that there is a problem with the CSS format.

THU-Yu avatar Aug 01 '24 07:08 THU-Yu

Can you provide an example of how you got into that error?

rtfpessoa avatar Aug 04 '24 17:08 rtfpessoa

I use import 'diff2html/bundles/css/diff2html.min.css'; in my code. I verified the CSS format of version 3.4.48 through the website. The error report is as follows. I searched online and found that it might be a problem with CSS Lint. image

THU-Yu avatar Aug 05 '24 02:08 THU-Yu

I have no idea what it can be seems something specific to your setup.

rtfpessoa avatar Dec 23 '24 19:12 rtfpessoa

If you share a simple project with reproducing the error feel free to reopen, otherwise I won't be able to help

rtfpessoa avatar Dec 23 '24 19:12 rtfpessoa