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

hr elements does not accept multiple classes #133

Merged
merged 2 commits into from
Dec 30, 2021
Merged

Commits on Dec 28, 2021

  1. hr elements does not accept multiple classes

    Like other elements, hr elements should also allow multiple
    classes to be added. Currently, hr elements have a direct
    assignment of attributes in patterns.js. Thus, multiple
    class attributes are not combined into one.
    
    By using the `utils.addAttrs` method, the attribute values
    will be merged correctly.
    
    This bug fix helps with attributes on hr elements.
    Example:`--- {.a .b}`
    Before:`<hr class='a' class='b'>`
    After: `<hr class='a b'>`
    tlylt committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    af966a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7043c29 View commit details
    Browse the repository at this point in the history