Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,12 @@ public/Aryan Suri/a.txt
/public/Henry Agnew/User Dashboard/usernames.json
/public/Henry Agnew/User Dashboard/users.json
/API/hypothesis/hypothesis.json

# Agents
.agents/
agents/
.claude/
claude/
CLAUDE.md
.codegraph/
.mcp.json
4 changes: 2 additions & 2 deletions API/bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ async function convertContainers(input, content) {
if (!content.includes('boxtitle') && !content.includes('note1'))
return [false, 0];

const $ = cheerio.load(content);
const $ = cheerio.load(content, null, false);

let result = '';
let count = 0;
Expand Down Expand Up @@ -807,7 +807,7 @@ async function editorPreprocess(botID, url, browser) {
}

async function addPageIdentifierClass(subdomain, path, content) {
const $ = cheerio.load(content);
const $ = cheerio.load(content, null, false);

let result = '';
let current = await LibreTexts.getAPI(`https://${subdomain}.libretexts.org/${path}`, false, 'LibreBot');
Expand Down