Skip to content

Fix invalid markup generated for dropdown in Bootstrap 4#100

Open
nathan-osman wants to merge 1 commit intoxcash:masterfrom
nathan-osman:fix-a-href-bs4
Open

Fix invalid markup generated for dropdown in Bootstrap 4#100
nathan-osman wants to merge 1 commit intoxcash:masterfrom
nathan-osman:fix-a-href-bs4

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

Comments