Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pollinations/pollinations
/ element
Function
element
pollinations.ai/src/worker.ts:113–115 ·
view source on GitHub ↗
(el)
Source
from the content-addressed store, hash-verified
111
return
new
HTMLRewriter()
112
.on(
"title"
, {
113
element(el) {
114
el.setInnerContent(meta.title);
115
},
116
})
117
.on(
'link[rel="canonical"]'
, {
118
element(el) {
Callers
nothing calls this directly
Calls
3
setInnerContent
Method · 0.65
setAttribute
Method · 0.65
append
Method · 0.65
Tested by
no test coverage detected