Skip to content

Commit

Permalink
feat: solve html entities when it would be python
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchezcarlosjr committed Nov 19, 2023
1 parent 933a897 commit 57abfa7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/notebook/cellTypes/languages/Sql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { Observable, firstValueFrom, shareReplay } from "rxjs";
// @ts-ignore
import { gluesql } from 'gluesql';
import { autocompletion, startCompletion, CompletionContext, CompletionResult } from "@codemirror/autocomplete";
import {stringify} from "../stringToHTML";

interface Gluesql {
loadIndexedDB: () => void;
Expand Down Expand Up @@ -59,7 +60,7 @@ export class Sql extends Language {
dataSource: output[output.length-1].rows
});
} else {
this.write(JSON.stringify(output[output.length-1]));
this.write(stringify(output[output.length-1]));
}
this.stop();
}).catch((e: any) => {
Expand Down

0 comments on commit 57abfa7

Please sign in to comment.