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

feat: add recognizeNoValueAttribute option for issue #75 #89

Merged
merged 3 commits into from
Feb 25, 2022

Conversation

lyfeyaj
Copy link

@lyfeyaj lyfeyaj commented Feb 7, 2022

By setting recognizeNoValueAttribute to true, below case will be rendered correctly by posthtml-render:

Input

<div a b c="c"></div>

Output

<div a b c="c"></div>

@cossssmin
Copy link
Member

Hi, thanks for your contribution. Can you please add a test that covers this new option? Let me know if you need help.

@lyfeyaj
Copy link
Author

lyfeyaj commented Feb 14, 2022

@cossssmin

Tests for recognizeNoValueAttribute option are added. See below👇🏻

image

@cossssmin
Copy link
Member

Thanks, let's wait for @Scrum to review

@lyfeyaj
Copy link
Author

lyfeyaj commented Feb 25, 2022

Hi @Scrum

Could you help to review this PR? 🙏

@Scrum
Copy link
Member

Scrum commented Feb 25, 2022

@lyfeyaj @cossssmin Hey guys, thanks a lot for this PR. I've been very busy lately, sorry for the long reply.

@Scrum Scrum linked an issue Feb 25, 2022 that may be closed by this pull request
@Scrum Scrum merged commit 5b82746 into posthtml:master Feb 25, 2022
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.

Empty Value Attribute Handling
4 participants