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

Fix: Tabpane shows multiple tabs at the same time #1280

Merged
merged 4 commits into from
Oct 21, 2022

Conversation

deining
Copy link
Collaborator

@deining deining commented Oct 14, 2022

This PR addresses and closes #1271. It also closes #1289 . The tabpane shortcode was improved in the sense it now detects if the same language is assigned to different tabs. Once a duplicate language is detected, persistance of language is disabled for the affected tabpane, By doing so, we avoid multiple tab display for that tabpane. Additionally, a warning is printed, indicating to the user that duplicate language assignment was deteceted.
Adiitonally this PR improves the whitespace handling of the shortcode, the produced html source code is correctly formatted now and can be read easily. Furthermore the PR includes a few minor fixes and improvements to the user guide.

@deining deining requested a review from geriom October 19, 2022 14:37
Copy link
Collaborator

@geriom geriom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I tested it and it works perfectly. LGTM

@geriom geriom merged commit dd2e2b9 into google:main Oct 21, 2022
@deining deining deleted the issue-1271 branch October 23, 2022 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
shortcodes Hugo shortcodes user guide Improvements to user guide
Projects
None yet
3 participants