We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 452c59b commit a9b5f64Copy full SHA for a9b5f64
src/expandableImages.js
@@ -30,7 +30,7 @@ module.exports = function expandableImages() {
30
link.children = [
31
{
32
type: "text",
33
- value: link.alt.substr(0, -1 * "expandable".length).trim()
+ value: link.alt.slice(0, -1 * "expandable".length).trim()
34
}
35
];
36
0 commit comments