Skip to content
This repository was archived by the owner on Mar 14, 2023. It is now read-only.

Commit 5c5e076

Browse files
author
Bernhard Grünewaldt
committed
fix
1 parent a7fac0c commit 5c5e076

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ module.exports = {
1313

1414
hooks: {
1515
"page": function(page) {
16-
page.sections.each(function (section) {
17-
section.content = section.content.replace(":white_check_mark:", "FOO");
18-
});
16+
page.content = page.content.replace(":white_check_mark:", "FOO");
1917
return page;
2018
}
2119
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "gitbook-plugin-advanced-emoji",
33
"description": "Shows the common emojis used on GitHub",
44
"main": "index.js",
5-
"version": "0.0.2",
5+
"version": "0.0.3",
66
"engines": {
77
"gitbook": ">=2.5.0"
88
},

0 commit comments

Comments
 (0)