```
% pandoc -f mediawiki -t native
Maecenas at sapien tempor, pretium turpis ut, imperdiet augue.<ref>This is a multiline

reference
<i>with</i>
empty

linebreaks</ref>  Nulla ut massa eget ex venenatis lobortis id in eros.
^D
[ Para
    [ Str "Maecenas"
    , Space
    , Str "at"
    , Space
    , Str "sapien"
    , Space
    , Str "tempor,"
    , Space
    , Str "pretium"
    , Space
    , Str "turpis"
    , Space
    , Str "ut,"
    , Space
    , Str "imperdiet"
    , Space
    , Str "augue."
    , Note
        [ Para
            [ Str "This"
            , Space
            , Str "is"
            , Space
            , Str "a"
            , Space
            , Str "multiline"
            ]
        , Para
            [ Str "reference"
            , SoftBreak
            , RawInline (Format "html") "<i>"
            , Str "with"
            , RawInline (Format "html") "</i>"
            , SoftBreak
            , Str "empty"
            ]
        , Para [ Str "linebreaks" ]
        ]
    , Space
    , Str "Nulla"
    , Space
    , Str "ut"
    , Space
    , Str "massa"
    , Space
    , Str "eget"
    , Space
    , Str "ex"
    , Space
    , Str "venenatis"
    , Space
    , Str "lobortis"
    , Space
    , Str "id"
    , Space
    , Str "in"
    , Space
    , Str "eros."
    ]
]
```
