Skip to content

Commit 037839a

Browse files
authored
Prevent double newline after heading atx-headline.qml (#285)
* Prevent double newline after heading atx-headline.qml * Update info.json
1 parent 0d07bf5 commit 037839a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

atx-headline/atx-headline.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ QtObject {
1818
* @return {string} the headline of the note
1919
*/
2020
function handleNewNoteHeadlineHook(headline) {
21-
var text = "# " + headline + "\n";
21+
var text = "# " + headline;
2222

2323
return text;
2424
}

atx-headline/info.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"name": "ATX Headline",
33
"identifier": "atx-headline",
44
"script": "atx-headline.qml",
5-
"authors": ["@dohliam"],
5+
"authors": ["@dohliam", "@louwers"],
66
"platforms": ["linux", "macos", "windows"],
7-
"version": "0.0.1",
7+
"version": "0.0.2",
88
"minAppVersion": "20.6.0",
99
"description": "Fix new note headlines to use atx rather than setext headers. More information can be found at <a href='https://github.com/qownnotes/scripts/wiki/atx-headline'>atx-headline</a>."
1010
}

0 commit comments

Comments
 (0)