Skip to content

Commit

Permalink
Merge branch 'develop' into lint-update
Browse files Browse the repository at this point in the history
  • Loading branch information
jhildenbiddle committed May 24, 2024
2 parents cf532d8 + 5febdfd commit 7d5f38f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"*.js": "eslint --fix"
},
"dependencies": {
"marked": "^4.2.12",
"medium-zoom": "^1.1.0",
"opencollective-postinstall": "^2.0.2",
"prismjs": "^1.29.0",
Expand Down Expand Up @@ -70,6 +69,7 @@
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.2",
"marked": "^12.0.2",
"npm-run-all": "^4.1.5",
"postcss-cli": "^11.0.0",
"prettier": "^3.2.5",
Expand Down
2 changes: 1 addition & 1 deletion src/core/render/embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export function prerenderEmbed({ compiler, raw = '', fetch }, done) {
const compile = compiler._marked;
let tokens = compile.lexer(raw);
const embedTokens = [];
const linkRE = compile.Lexer.rules.inline.link;
const linkRE = compile.Lexer.rules.inline.normal.link;
const links = tokens.links;

tokens.forEach((token, index) => {
Expand Down

0 comments on commit 7d5f38f

Please sign in to comment.