On Mon, 24 Mar 2025 16:39:02 GMT, Chen Liang <li...@openjdk.org> wrote:
>> I thought about it but that may not be necessary because the other json keys >> (`l`, `h`, `u`) cannot have whitespace in them. >> >> I'm not opposed to handing whitespace in an `escapeQuotesAndWhitespace` >> method though. > > I think we should have one that escapes spaces and another that fails on > spaces to replace the current escapeQuotes. Apologies. Whitespace is indeed allowed in certain keys, I thought that the Labels would mostly be references (links) but titles and headers are also included in the Index files. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/24202#discussion_r2011745669