~jaro/balkon

e9a66c263f577e003e031e881e3b8bf1e7938ea0 — Jaro 1 year, 7 months ago ac8fab3
Fix documentation: link to layoutRich.
1 files changed, 2 insertions(+), 1 deletions(-)

M src/Data/Text/ParagraphLayout/Internal/Rich/Paragraph.hs
M src/Data/Text/ParagraphLayout/Internal/Rich/Paragraph.hs => src/Data/Text/ParagraphLayout/Internal/Rich/Paragraph.hs +2 -1
@@ 68,7 68,8 @@ constructParagraph
    -> ParagraphOptions
    -- ^ Options to apply to the paragraph as a whole.
    -> Paragraph d
    -- ^ Constructed paragraph that can be passed to `layoutRich`.
    -- ^ Constructed paragraph that can be passed to
    -- `Data.Text.ParagraphLayout.Rich.layoutRich`.
constructParagraph prefix root suffix = Paragraph arr afterPrefix root'
    where
        (Text arr beforePrefix _) = txt