Skip to Content
  • Website
Codsen
  • Home
  • Open Source
  • Articles
  • About

backOpen Source→ranges-ent-decode→Examples

Table of Contents

  • Quick Take
  • Avoid decoding an ambiguous entity inside an attribute value
  • Return null when no replacement ranges are needed
  • Decode decimal and hexadecimal character references
  • Decode entities that were encoded more than once
  • Reject a malformed entity in strict mode
↑ back to top

Quick Take

↑ back to top

Avoid decoding an ambiguous entity inside an attribute value

↑ back to top

Return null when no replacement ranges are needed

↑ back to top

Decode decimal and hexadecimal character references

↑ back to top

Decode entities that were encoded more than once

↑ back to top

Reject a malformed entity in strict mode

↑ back to top
back 

Copyright

All rights reserved © Roy Revelt 2026
All our open source packages are under MIT licenceopens in a new tab

Activities

🐛 See a bug? Raise an issueopens in a new tab
💘 Check out the Indiewebopens in a new tab and Libera manifestoopens in a new tab