Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 2, 2025

Bumps github.com/chasefleming/elem-go from 0.26.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

Version 0.30.0

🚀 New Features

  • Added support for the as attribute in <link> tags.
  • Added support for the nomodule attribute in <script> tags.

🙏 Thanks to Contributors

Version 0.29.0

🚀 New Features

Pseudo-Elements Support in StyleManager

This enhancement allows developers to define styles for CSS pseudo-elements such as ::before, ::after, and others directly within Go code, enabling richer and more dynamic web interfaces.

Pseudo-Elements in CompositeStyle

You can now specify styles for pseudo-elements using the PseudoElements field in your style definitions. Here’s how to use it:

styleMgr := stylemanager.NewStyleManager()
compositeClassName := styleMgr.AddCompositeStyle(styles.CompositeStyle{
Default: styles.Props{
styles.Color: "black",
},
PseudoElements: map[string]styles.Props{
</tr></table>

... (truncated)

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)

@dependabot dependabot bot added dependencies go Pull requests that update Go code labels Sep 2, 2025
Copy link

netlify bot commented Sep 2, 2025

Deploy Preview for localai ready!

Name Link
🔨 Latest commit 8608d60
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/68b7180acedb3000094c28ac
😎 Deploy Preview https://deploy-preview-6178--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions bot enabled auto-merge (squash) September 2, 2025 11:33
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/chasefleming/elem-go-0.31.0 branch from 49696eb to 15b9174 Compare September 2, 2025 12:19
Bumps [github.com/chasefleming/elem-go](https://github.com/chasefleming/elem-go) from 0.26.0 to 0.31.0.
- [Release notes](https://github.com/chasefleming/elem-go/releases)
- [Commits](chasefleming/elem-go@v0.26.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] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/chasefleming/elem-go-0.31.0 branch from 15b9174 to 8608d60 Compare September 2, 2025 16:15
@github-actions github-actions bot merged commit 657027b into master Sep 2, 2025
29 checks passed
@github-actions github-actions bot deleted the dependabot/go_modules/github.com/chasefleming/elem-go-0.31.0 branch September 2, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants