Skip to content

Commit

Permalink
fix: cyrill tags fixed (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
akosbalasko authored Jan 10, 2024
1 parent 301e17a commit 585e949
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit 585e949

Please sign in to comment.