chore: Add debug log to isCodeBlock function

This commit is contained in:
2025-12-03 02:46:18 +00:00
committed by Tanner Collin (aider)
parent 504fe745ea
commit 89a511efc0

View File

@@ -58,6 +58,7 @@ function Article({ cache }) {
};
const isCodeBlock = (v) => {
console.log(v);
return v.localName === 'pre' || v.localName === 'code' || (v.firstElementChild && v.firstElementChild.localName === 'code');
};