MCPcopy
hub / github.com/Bistutu/FluentRead / format

Function format

userscripts.js:1665–1667  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

1663
1664// 文本格式化
1665function format(text) {
1666 return text.replace(/\u00A0/g, ' ').trim();
1667}
1668
1669// 替换文本
1670function replaceText(type, node, value) {

Callers 5

processNodeFunction · 0.85
procCozeFunction · 0.85
procOpenaiFunction · 0.85
procMavenFunction · 0.85
procDockerhubFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected