Skip to content

Commit c6b3a90

Browse files
committed
fixed #782
1 parent 268ba50 commit c6b3a90

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Go to the `v1` branch to see the changelog of Lume 1.
1818
### Fixed
1919
- Issues running `site.build()` multiple times in the same process.
2020
- `mergedKeys` key is not merged.
21+
- Use `textContent` instead of `innerHTML` to get values using CSS selectors
22+
by some plugins like metas [#782]
2123
- Updated dependencies: `bar`, `unocss`, `tailwindcss`, `esbuild`, `std`, `deno/loader`, `sass`, `xml`, `magic-string`, `satori`, `mdx` and some icons.
2224

2325
## [3.0.6] - 2025-08-07
@@ -213,6 +215,7 @@ Go to the `v1` branch to see the changelog of Lume 1.
213215
[#770]: https://github.com/lumeland/lume/issues/770
214216
[#772]: https://github.com/lumeland/lume/issues/772
215217
[#779]: https://github.com/lumeland/lume/issues/779
218+
[#782]: https://github.com/lumeland/lume/issues/782
216219

217220
[3.0.7]: https://github.com/lumeland/lume/compare/v3.0.6...HEAD
218221
[3.0.6]: https://github.com/lumeland/lume/compare/v3.0.5...v3.0.6

core/utils/data_values.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,5 @@ function queryCss(query: string, document?: Document) {
9393
return document?.querySelector(query)?.getAttribute(name);
9494
}
9595

96-
return document?.querySelector(query)?.innerHTML;
96+
return document?.querySelector(query)?.textContent;
9797
}

0 commit comments

Comments
 (0)