Skip to content

Commit

Permalink
Update src/Instance.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Steven <steven@ceriously.com>
  • Loading branch information
UziTech and styfle committed Jun 11, 2024
1 parent f0ec308 commit 7f17377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export class Marked {
// Replace renderer with func to run extension, but fall back if false
renderer[rendererProp] = (...args: unknown[]) => {
if (!pack.useNewRenderer) {
// Remove this in next major version
// TODO: Remove this in next major version
rendererFunc = this.#convertRendererFunction(rendererFunc, rendererProp, renderer) as GenericRendererFunction;
}
let ret = rendererFunc.apply(renderer, args);
Expand Down

0 comments on commit 7f17377

Please sign in to comment.