Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Fix: use the htmlContent method instead of outerHTML #1

Merged
merged 3 commits into from
Sep 20, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion addon/commands/generate-template-command.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default class GenerateTemplateCommand {
const resourceUris = quads.map((quad) => quad.subject.value)
uris = [...uris, ...resourceUris];
}
let documentHTML = controller._rawEditor.rootNode.outerHTML;
let documentHTML = controller.htmlContent;
for(let uri of uris) {
const uriParts = uri.split('/');
uriParts.pop();
Expand Down