fixed up output from LLM for IR a bit

This commit is contained in:
Pagwin 2025-11-01 15:39:18 -04:00
parent 33b049e64e
commit 6212c3fd05
No known key found for this signature in database
GPG key ID: 81137023740CA260

View file

@ -44,7 +44,7 @@ data HTML
= HTMLTag
{ tagName :: Text,
attributes :: [(Text, Maybe Text)],
content :: Text
html_content :: Text
}
-- Optionally skip: HTMLComment, HTMLDeclaration
@ -55,7 +55,7 @@ data InlineText
= Text Text -- Combined Normal and Escaped
| Bold [InlineText]
| Italic [InlineText]
| Code Text
| InlineCode Text
| Link
{ linkText :: [InlineText],
url :: Text,
@ -67,8 +67,8 @@ data InlineText
title :: Maybe Text
}
| HTMLInline
{ tagName :: Text,
attributes :: [(Text, Maybe Text)]
{ inlineTagName :: Text,
inlineAttributes :: [(Text, Maybe Text)]
}
-- for processing math