chore: Add debug log to isCodeBlock function
This commit is contained in:
committed by
Tanner Collin (aider)
parent
9840859aff
commit
28e92a057f
@@ -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');
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user