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

Option to make attribute and content check case insensitive #153

Open
2 of 5 tasks
BTWS2 opened this issue Oct 7, 2021 · 0 comments
Open
2 of 5 tasks

Option to make attribute and content check case insensitive #153

BTWS2 opened this issue Oct 7, 2021 · 0 comments
Assignees
Labels
Emmet Issues related to Emmet enhancement New feature or request low priority Thing we want to see implemented at some point

Comments

@BTWS2
Copy link
Collaborator

BTWS2 commented Oct 7, 2021

The non-emmet way allows for case_insensitve values for attributes e.g.

html.make_item("<meta> has the 'UTF-8' charset attribute",
               el_meta.attribute_exists('charset', "UTF-8", case_insensitive=True))

Is it possible to also support these use cases?

  • Case insensitive value with Emmet
html.make_item_from_emmet("<meta> has the 'UTF-8' charset attribute",
                          "meta[charset='UTF-8']",
                           case_insensitive=True)
  • Case insensitive content with Emmet
html.make_item_from_emmet("<title> has Hello World as content",
                          "title{Hello World}",
                           case_insensitive=True)
  • Can you also add case insensitivity option to has_content()?
  • Update docs
  • Tests were added
@BTWS2 BTWS2 added enhancement New feature or request medium priority Things we want to see implemented relatively soon labels Oct 7, 2021
@BTWS2 BTWS2 added the Emmet Issues related to Emmet label Nov 18, 2021
@BTWS2 BTWS2 added low priority Thing we want to see implemented at some point and removed medium priority Things we want to see implemented relatively soon labels Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Emmet Issues related to Emmet enhancement New feature or request low priority Thing we want to see implemented at some point
Projects
None yet
Development

No branches or pull requests

3 participants