Re: RFR: 8299080: Wrong default value of snippet lang attribute [v2]

2024-07-15 Thread Pavel Rappo
> Please review this bugfix to the way the language of a snippet is determined > and processed. > > The language of a snippet affects the form of snippet markup and enables > external syntax highlighting, such as that provided by prism.js. The language > of a snippet is > [determined](https://

Re: RFR: 8299080: Wrong default value of snippet lang attribute [v2]

2024-07-15 Thread Pavel Rappo
On Tue, 9 Jul 2024 21:13:45 GMT, Jonathan Gibbons wrote: >> General comment: while the dust on `Path.getExtension` is still settling, as >> a matter of policy, we should try and stay compatible with that. In >> particular, a filename like `.gitignore` is a hidden filename with no >> extension,