build(deps): bump github.com/beevik/etree from 1.5.0 to 1.5.1

Bumps [github.com/beevik/etree](https://github.com/beevik/etree) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/beevik/etree/releases)
- [Changelog](https://github.com/beevik/etree/blob/main/RELEASE_NOTES.md)
- [Commits](https://github.com/beevik/etree/compare/v1.5.0...v1.5.1)

---
updated-dependencies:
- dependency-name: github.com/beevik/etree
  dependency-version: 1.5.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot]
2025-04-30 14:58:57 +00:00
committed by GitHub
parent b05deb8a5e
commit fac80402bf
6 changed files with 13 additions and 5 deletions
+1
View File
@@ -12,3 +12,4 @@ Martin Dosch (mdosch)
Hugo Wetterberg (hugowetterberg)
Tobias Theel (nerzal)
Daniel Potapov (dpotapov)
Mikhail Ferapontow (MikhailFerapontow)
+7
View File
@@ -1,3 +1,10 @@
Release 1.5.1
=============
**Fixes**
* Fixed a bug in `InsertChildAt`.
Release 1.5.0
=============
+1 -1
View File
@@ -831,7 +831,7 @@ func (e *Element) InsertChildAt(index int, t Token) {
}
if t.Parent() != nil {
if t.Parent() == e && t.Index() > index {
if t.Parent() == e && t.Index() < index {
index--
}
t.Parent().RemoveChild(t)