From b89b3755f7f983e05e38f46f0633f5c3967b125f Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Tue, 12 Nov 2024 18:52:08 -0500 Subject: [PATCH] URL in metadata needs to be commented to please Markdeep's parser. --- src/MiniDocs/ByteString.extension.st | 5 +++++ src/MiniDocs/HedgeDoc.class.st | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 ]