diff --git a/src/MiniDocs/ByteString.extension.st b/src/MiniDocs/ByteString.extension.st index 11b62c5..0a0a9c7 100644 --- a/src/MiniDocs/ByteString.extension.st +++ b/src/MiniDocs/ByteString.extension.st @@ -35,6 +35,11 @@ ByteString >> admonitionEndingPosition [ ^ response ] +{ #category : #'*MiniDocs' } +ByteString >> asHTMLComment [ + ^ '' +] + { #category : #'*MiniDocs' } ByteString >> email [ "Quick fix for importing Lepiter pages that have a plain ByteString field as email." diff --git a/src/MiniDocs/HedgeDoc.class.st b/src/MiniDocs/HedgeDoc.class.st index df61d95..423727b 100644 --- a/src/MiniDocs/HedgeDoc.class.st +++ b/src/MiniDocs/HedgeDoc.class.st @@ -58,7 +58,7 @@ HedgeDoc >> asLePage [ newPage editTime: DateAndTime now. newPage options at: 'HedgeDoc' at: 'yamlFrontmatter' put: self metadata; - at: 'HedgeDoc' at: 'url' put: self url. + at: 'HedgeDoc' at: 'url' put: self url asString asHTMLComment. ^ newPage ]