Skip to content

Manual: Fix loaderArrayLoadRE regex to allow spaces before square bracket.#29820

Merged
Mugen87 merged 1 commit into
mrdoob:devfrom
mrxz:fix-array-load-regex
Nov 6, 2024
Merged

Manual: Fix loaderArrayLoadRE regex to allow spaces before square bracket.#29820
Mugen87 merged 1 commit into
mrdoob:devfrom
mrxz:fix-array-load-regex

Conversation

@mrxz
Copy link
Copy Markdown
Contributor

@mrxz mrxz commented Nov 6, 2024

Related issue: #29819

Description

The regex used to detect and re-write URLs in the manual when loading an array did not account for any spaces between the opening bracket and the opening square bracket. As a result these would not be rewritten and failed to load when viewing the example on the manual page it's embedded.

This PR simply expands the regex to match against zero or more spaces, resolving the issue.

@Mugen87 Mugen87 added this to the r171 milestone Nov 6, 2024
@Mugen87 Mugen87 merged commit 9ca9114 into mrdoob:dev Nov 6, 2024
@Mugen87 Mugen87 changed the title Fix loaderArrayLoadRE regex to allow spaces before square bracket Manual: Fix loaderArrayLoadRE regex to allow spaces before square bracket. Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants