Skip to content

Commit

Permalink
Properly append section content
Browse files Browse the repository at this point in the history
As discussed here: foundryvtt#54 (comment)
  • Loading branch information
wdawson committed Nov 10, 2022
1 parent 608e48f commit b9f1253
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "world-anvil",
"title": "World Anvil Integration",
"version": "1.4.1",
"version": "1.4.2",
"description": "<p>A module to integrate <a href=\"https://worldanvil.com\" title=\"World Anvil\" target=\"_blank\">World Anvil</a> with Foundry Virtual Tabletop.</p>",
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion module/framework.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ export function getArticleContent(article) {
sectionInPages += "</section>";

const pageName = secretSectionIds.includes(id) ? pageNames.secrets : pageNames.sideContent;
pages.html[pageName] = pages[pageName] ?? "";
pages.html[pageName] = pages.html[pageName] ?? "";
pages.html[pageName] += sectionInPages;
}
}
Expand Down

0 comments on commit b9f1253

Please sign in to comment.