MCPcopy 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

setInnerContentMethod · 0.65
setAttributeMethod · 0.65
appendMethod · 0.65

Tested by

no test coverage detected