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

fix: Escape < when serializing attribute values #199

Merged
merged 2 commits into from Mar 14, 2021

Commits on Mar 13, 2021

  1. fix: Escape < when serializing attribute values

    to produce well formed XML.
    
    > Well-formedness constraint: No `<` in Attribute Values
    > The replacement text of any entity referred to directly or indirectly in an attribute value must not contain a `<`.
    
    https://www.w3.org/TR/xml/#CleanAttrVals
    https://www.w3.org/TR/xml/#NT-AttValue
    
    fixes xmldom#198
    karfau committed Mar 13, 2021
    Copy the full SHA
    bd498e5 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2021

  1. Update lib/dom.js

    Co-authored-by: Chris Brody <chris.brody+brodybits@gmail.com>
    karfau and brodybits committed Mar 14, 2021
    Copy the full SHA
    8a17119 View commit details
    Browse the repository at this point in the history