Skip to content

Conversation

deining
Copy link
Contributor

@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
Development

Successfully merging this pull request may close these issues.

including tabpane content via readfile assigns duplicate HTML IDs Tabpane shows multiple tabs at the same time
3 participants