On Tue, 25 Mar 2025 11:40:35 GMT, Nizar Benalla <nbena...@openjdk.org> wrote:

>> Please review this patch to fix an issue in the `tag-search-index.js` 
>> generation.
>> 
>> The problem was in the `toJSON()` method of `IndexItem`. When adding the 
>> description, it's using `escapeQuotes(description)` which only escapes 
>> backslashes and quotes, but doesn't normalize whitespace.
>> 
>> TIA
>
> Nizar Benalla has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   move logic of normalizing whitespace to the common utils class

I've made a small update to add javadoc to the new method.

Thanks for reviewing, Chen and Hannes.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/24202#issuecomment-2754308332
PR Comment: https://git.openjdk.org/jdk/pull/24202#issuecomment-2754318069

Reply via email to