Fixing STON wiki exportation.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2023-05-19 10:43:27 -05:00
parent 4ee3b43795
commit d066d77a1c
2 changed files with 7 additions and 6 deletions

View File

@ -87,7 +87,7 @@ Tiddler >> asStonStringPretty [
temp wiki: nil.
output := '' writeStream.
(STON writer on: output)
newLine: String crlf;
newLine: String lf;
prettyPrint: true;
keepNewLines: true;
nextPut: temp.

View File

@ -345,7 +345,8 @@ TiddlyWiki >> exportSTONFiles [
wikiTemp := self copy.
wikiTemp tiddlers: self commonTiddlers.
MiniDocs exportAsSton: self shadow on: shadowFile.
^ MiniDocs exportAsSton: wikiTemp on: stonFile
MiniDocs exportAsSton: wikiTemp on: stonFile.
^ self folder
]
{ #category : #accessing }
@ -532,10 +533,10 @@ TiddlyWiki >> largeTiddlersFolder [
for example the ones that come in the plugins or in system tiddlers.
For more information about shadow tiddlers, see #shadow method."
| folder |
folder := self file parent / self largeTiddlersFolderName.
folder ensureCreateDirectory.
^ folder
| largeFilesFolder |
largeFilesFolder := self folder / self largeTiddlersFolderName.
largeFilesFolder ensureCreateDirectory.
^ largeFilesFolder
]
{ #category : #accessing }