URL in metadata needs to be commented to please Markdeep's parser.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2024-11-12 18:52:08 -05:00
parent d2959856b9
commit b89b3755f7
2 changed files with 6 additions and 1 deletions

View File

@ -35,6 +35,11 @@ ByteString >> admonitionEndingPosition [
^ response ^ response
] ]
{ #category : #'*MiniDocs' }
ByteString >> asHTMLComment [
^ '<!-- ', self , ' -->'
]
{ #category : #'*MiniDocs' } { #category : #'*MiniDocs' }
ByteString >> email [ ByteString >> email [
"Quick fix for importing Lepiter pages that have a plain ByteString field as email." "Quick fix for importing Lepiter pages that have a plain ByteString field as email."

View File

@ -58,7 +58,7 @@ HedgeDoc >> asLePage [
newPage editTime: DateAndTime now. newPage editTime: DateAndTime now.
newPage options newPage options
at: 'HedgeDoc' at: 'yamlFrontmatter' put: self metadata; at: 'HedgeDoc' at: 'yamlFrontmatter' put: self metadata;
at: 'HedgeDoc' at: 'url' put: self url. at: 'HedgeDoc' at: 'url' put: self url asString asHTMLComment.
^ newPage ^ newPage
] ]