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

<span> not allowed in site-nav #1611

Closed
damithc opened this issue Jun 28, 2021 · 3 comments · Fixed by #1622
Closed

<span> not allowed in site-nav #1611

damithc opened this issue Jun 28, 2021 · 3 comments · Fixed by #1622

Comments

@damithc
Copy link
Contributor

damithc commented Jun 28, 2021

Previously, I was able to do this kind of styling e.g., use badges/colors in the site-nav using <span> elements.

image

Is it not allowed anymore? The <span> tags in site-nav items seem to be ignored now.

Not a deal-breaker but just checking if it is allowed.

@ang-zeyu
Copy link
Contributor

should still be allowed, will need the source

@damithc
Copy link
Contributor Author

damithc commented Jun 28, 2021

Example:

* [text1 <span class="text-danger">text2</span>]()

image

@damithc
Copy link
Contributor Author

damithc commented Jul 5, 2021

It's working now. Thanks for the fix @ang-zeyu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants