fdoc

subroutinestash_htmlprivate

subroutine stash_html(t, html, placeholder)

Keep html aside, returning the placeholder for it.

Arguments

NameTypeIntentAttributesDescription
ttype(tree_t)inout

the conversion

htmlcharacter(len=*)in

the HTML

placeholdercharacter(len=:)outallocatable

what stands for it

Calls

Source

Show the code
subroutine stash_html(t, html, placeholder)
    type(tree_t), intent(inout) :: t                            !! the conversion
    character(len=*), intent(in) :: html                        !! the HTML
    character(len=:), allocatable, intent(out) :: placeholder   !! what stands for it
    character(len=12) :: number

    call push(t%stash, html)
    number = int_text(size(t%stash))
    placeholder = STX//trim(number)//ETX
end subroutine stash_html

Graphs

Calls

Called by