Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: cyrill tags fixed #579

Merged
merged 2 commits into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ The following configurational properties are available:
| ```taskOutputFormat``` | `ObsidianMD` or `StandardMD` | Output format of Evernote v10+ tasks. ObsidianMD will connvert tasks to match with Obsidian Tasks plugin's requirements. StandardMD will create plain tasks, loosing many features like reminders or due dates.
| ```obsidianTaskTag``` | string | a tag to put to a task converted from Evernote v10+ tasks. Optional by Obsidian Tasks plugin, pls check the details there.
| ```trimStartingTabs``` | true or false | Removes the tab characters from the beginning of every line in a note. It is meaningful, because Obsidian recognizes tabs as codeblocks by default and blocks recognition of links (for instance) in the line
| ```convertPlainHtmlNewlines``` | true or false | Converts plain html newlines (<br>) to \n in the converted note.
| ```convertPlainHtmlNewlines``` | true or false | Yarle converts newline html tags to newlines, even if they are within Evernote paragraphs.
|```useUniqueUnknownFileNames``` | boolean | generates a couple of random characters at the end of the resource file names if the exact name cannot be recognised. For instance: unknown_filename-d2fd86c3.pdf
|```useLevenshteinForLinks```| boolean| it applies the link to the note with the filename that has the closest Levenshtein distance to the text of the link
Metadata settings can be set via the template.
Expand Down
2 changes: 1 addition & 1 deletion src/ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ <h5 class="info-text">Notes</h5>
<div class="form-group">
<label for="convertPlainHtmlNewlines" class="pure-checkbox">
Convert plain html newlines
<br><div style='font-size: 12px;'><i>(It it is selected, Yarle converts newline html tags to newlines, even if they are within Evernote paragraphs </i></div>
<br><div style='font-size: 12px;'><i>(If it is selected, Yarle converts newline html tags to newlines, even if they are within Evernote paragraphs </i></div>
</label>

<select class="form-control configurationItem" name="convertPlainHtmlNewlines" id="convertPlainHtmlNewlines">
Expand Down
2 changes: 1 addition & 1 deletion src/utils/content-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const logTags = (note: any): string => {

cleanTag = cleanTag.replace(/ /g, replaceSpaceWith);
if (yarleOptions.outputFormat === OutputFormat.ObsidianMD)
cleanTag = cleanTag.replace(/[^A-Za-z0-9_/\\-]/g, '')
cleanTag = cleanTag.replace(/[^\wа-я0-9_/\\-]/g, '')
return `${yarleOptions.useHashTags ? '#' : ''}${cleanTag}`;
});

Expand Down
Loading