v1.0.0
This commit is contained in:
@@ -141,7 +141,7 @@
|
||||
let question = questionContainer.textContent;
|
||||
if (config.table) {
|
||||
//make table more readable for chat-gpt
|
||||
const tables = questionContainer.querySelectorAll("table");
|
||||
const tables = questionContainer.querySelectorAll(".qtext table");
|
||||
for (const table of tables) {
|
||||
question = question.replace(table.textContent, htmlTableToString(table));
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -13,7 +13,8 @@ function normalizeQuestion(config: Config, questionContainer: HTMLElement) {
|
||||
|
||||
if (config.table) {
|
||||
//make table more readable for chat-gpt
|
||||
const tables = questionContainer.querySelectorAll("table");
|
||||
const tables: NodeListOf<HTMLTableElement> =
|
||||
questionContainer.querySelectorAll(".qtext table");
|
||||
for (const table of tables) {
|
||||
question = question.replace(table.textContent, htmlTableToString(table));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user