Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit e3aff63

Browse files
feat: add an article container on publishing too (#1439)
Signed-off-by: peterpeterparker <[email protected]>
1 parent eecba45 commit e3aff63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

providers/ic/src/utils/publish.doc.utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const initDocIndexHTML = async ({doc}: {doc: Doc}): Promise<{html: string; publi
4444
const {paragraphs} = publishData;
4545

4646
const updateTemplateContent = ({attr, template}: {attr: string | undefined; template: string}): string =>
47-
template.replace('<!-- DECKDECKGO_DOC -->', `<deckgo-doc ${attr || ''}>${paragraphs.join('')}</deckgo-doc>`);
47+
template.replace('<!-- DECKDECKGO_DOC -->', `<deckgo-doc ${attr || ''}><article>${paragraphs.join('')}</article></deckgo-doc>`);
4848

4949
const {html}: {html: string} = await initIndexHTML({publishData, updateTemplateContent, sourceFolder: 'd'});
5050

0 commit comments

Comments
 (0)