Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 19, 2025

Bumps github.com/chasefleming/elem-go from 0.30.0 to 0.31.0.

Release notes

Sourced from github.com/chasefleming/elem-go's releases.

Version 0.31.0

✨ New Features & Improvements

🛡️ Escaping for Safer Rendering

  • Text Node Escaping (#158) Text() now safely escapes HTML5 special characters such as &, <, and > to prevent potential rendering issues and injection vulnerabilities. For unescaped HTML content, Raw() is still available for advanced use cases like custom tags or embedded code.

  • Comment Node Escaping (#159) Comment() now escapes unsafe character sequences in compliance with the [WHATWG spec](https://html.spec.whatwg.org/multipage/syntax.html#comments), ensuring valid and secure HTML output.

📄 CDATA Element Support

  • CDATA Node Added (#163) You can now generate CDATA sections with proper escaping to comply with HTML5 and XML standards. The only disallowed sequence (]]>) is appropriately handled to avoid breaking your documents.

    🙏 Thanks to Contributors

Commits
  • b8b0178 Merge pull request #163 from whisk/feature/cdata
  • 89af32d added support for CDATA element
  • 31f1383 Merge pull request #161 from chasefleming/cf/update-examples-deps
  • a7b58e5 Update todo deps
  • 057804b Update form deps
  • cda8702 Update counter deps
  • edbb7f2 Merge pull request #159 from whisk/fix/comments-escaping
  • 1a832fc string replace optimizations
  • d01dda6 added content escaping for comment nodes
  • 935dc57 Merge pull request #160 from chasefleming/cf/update-package
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/chasefleming/elem-go](https://github.com/chasefleming/elem-go) from 0.30.0 to 0.31.0.
- [Release notes](https://github.com/chasefleming/elem-go/releases)
- [Commits](chasefleming/elem-go@v0.30.0...v0.31.0)

---
updated-dependencies:
- dependency-name: github.com/chasefleming/elem-go
  dependency-version: 0.31.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants