dm_html_pre Function

public pure function dm_html_pre(str, code) result(html)

Returns HTML preformatted text, with optional <code> tag. This function does not encode the argument str.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: str

Content string.

logical, intent(in), optional :: code

Additional code tag?

Return Value character(len=:), allocatable

Generated HTML.