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

HtmlNode.AddClass won't add "btn" if "btn-primary" is already added. #337

Closed
torerikk opened this issue Oct 3, 2019 · 3 comments
Closed
Assignees

Comments

@torerikk
Copy link

torerikk commented Oct 3, 2019

Description

AddClass checks if any existing classes contains the new class-name, so if "my-btn-class" exists in the class attribute it won't add "btn".

https://dotnetfiddle.net/vx7O59

Further technical details

  • HAP version: 1.11.5
  • NET version: net472
@JonathanMagnan JonathanMagnan self-assigned this Oct 3, 2019
@JonathanMagnan
Copy link
Member

Hello @torerikk ,

Thank you for reporting,

My developer will look at it to fix it.

Best Regards,

Jonathan


Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework ExtensionsEntity Framework ClassicBulk OperationsDapper Plus

Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval FunctionSQL Eval Function

@JonathanMagnan
Copy link
Member

Hello @torerikk ,

The v1.11.16 has been released.

Let me know if everything is now working as expected.

Best Regards,

Jonathan

@torerikk
Copy link
Author

torerikk commented Oct 9, 2019

Yes, now it works as expected :) Thank you!

@torerikk torerikk closed this as completed Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants