Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hidden links #35

Closed
jrolli opened this issue Nov 30, 2021 · 0 comments
Closed

Hidden links #35

jrolli opened this issue Nov 30, 2021 · 0 comments

Comments

@jrolli
Copy link
Contributor

jrolli commented Nov 30, 2021

The normalization passes for challenge metadata lead to undesirable behavior for {{link('/') because it is translated into an empty anchor tag. The href information is populated correctly, but the leading / is trimmed by the capture in urlPathPattern (loader.go:68).

I recall having to drop the leading slash during early development because it caused issues with flask but it would be possible to reinsert it into the generated HTML for inside of the anchors while leaving it out of the href.

@jrolli jrolli closed this as completed in f646e12 Jan 20, 2022
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

No branches or pull requests

1 participant