mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
renaming attributes to labels, fixes #79
This commit is contained in:
@@ -125,7 +125,7 @@ function formatValueWithWhitespace(val) {
|
||||
return /[^\w_-]/.test(val) ? '"' + val + '"' : val;
|
||||
}
|
||||
|
||||
function formatAttribute(attr) {
|
||||
function formatLabel(attr) {
|
||||
let str = "@" + formatValueWithWhitespace(attr.name);
|
||||
|
||||
if (attr.value !== "") {
|
||||
|
||||
Reference in New Issue
Block a user