flexmark-java icon indicating copy to clipboard operation
flexmark-java copied to clipboard

Html5Entities class and entities.properties files should be in same module

Open alexkrapf opened this issue 3 years ago • 0 comments

Still a great project, just something I stumbled over in 0.64.0 release:

When using modules, embedded resources and classes that use these resources should be in the same module. Html5Entities is part of util-sequence and entities.properties is part of util.html. That causes a NullPointerException when I try to resolve an entity name.

I believe that it would make logical sense to move the Html5Entities class into the util.html module, but I might be wrong and there might be a good reason to keep it where it is. In that case the resource file should be moved.

alexkrapf avatar Jan 19 '23 20:01 alexkrapf