On Mon, 24 Mar 2025 14:41:43 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 This pull request has now been integrated. Changeset: e2a461bd Author: Nizar Benalla <nbena...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/e2a461bddeade1666fe15fb17cba8c9f4c5e7dab Stats: 97 lines in 5 files changed: 92 ins; 0 del; 5 mod 8351332: Line breaks in search tag descriptions corrupt JSON search index Reviewed-by: hannesw, liach ------------- PR: https://git.openjdk.org/jdk/pull/24202