Skip to content

Fix invalid markup generated for dropdown in Bootstrap 4 #100

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nathan-osman
Copy link

When run in Bootstrap 4, the plugin creates <a> elements for the dropdown. However, this is invalid markup, as the href attribute is required for the <a> element.

The result of this omission is that the text color is incorrect in many themes and the cursor is not a pointer:

2021-01-04 22_59_51-Pearup — Options

This pull request fixes the oversight.

When run in Bootstrap 4, the plugin creates <a> elements for the dropdown.
However, this is invalid markup, as the href attribute is required for the <a>
element. The result of this omission is that the text color is incorrect in
many themes and the cursor is not a pointer.

This pull request fixes the oversight.
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.

1 participant