Skip to content

Commit

Permalink
keep html
Browse files Browse the repository at this point in the history
  • Loading branch information
akosbalasko committed Nov 15, 2024
1 parent cf467e4 commit b5fa843
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/process-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export const processNode = (pureNote: EvernoteNoteData, notebookName: string): v
targetLanguage.noteProcess(yarleOptions, noteData, pureNote)

if (yarleOptions.keepOriginalHtml) {
noteData.htmlContent = htmlContent;
convert2Html(noteData);
saveHtmlFile(noteData, pureNote);
}
Expand Down
2 changes: 1 addition & 1 deletion src/ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ <h5 class="info-text">General </h5>
<label for="keepOriginalHtml" class="pure-checkbox">
Keep the original Html
<br><div style='font-size: 12px;'><i>(
Converts the notes to HTML format also.)</i></div>
Converts the notes to HTML format also. To enable it you must place the following metadata link into the template too {link-to-original-block}{link-to-original}{end-link-to-original-block})</i></div>
</label>
<!--<input type="checkbox" id='keepOriginalHtml' value="false">-->
<select class="form-control configurationItem" name="keepOriginalHtml" id="keepOriginalHtml">
Expand Down

0 comments on commit b5fa843

Please sign in to comment.