Skip to content

Added removal of _BS to allow for proper URL construction.#549

Open
sailorsben wants to merge 1 commit intolyrgard:masterfrom
sailorsben:unitsearchfix
Open

Added removal of _BS to allow for proper URL construction.#549
sailorsben wants to merge 1 commit intolyrgard:masterfrom
sailorsben:unitsearchfix

Conversation

@sailorsben
Copy link

Added a small conditional to check if a unit name link includes _BS and if it does, replaces it with nothing.

This resolves the issue with Unit Search links redirecting to the wrong URL on the wiki.

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