Function tidy_sys::tidyNodeGetText

source ·
pub unsafe extern "C" fn tidyNodeGetText(
    tdoc: TidyDoc,
    tnod: TidyNode,
    buf: *mut TidyBuffer
) -> Bool
Expand description

Gets the text of a node and places it into the given TidyBuffer. The text will be terminated with a TidyNewline. If you want the raw utf-8 stream see tidyNodeGetValue(). @result Returns a bool indicating success or not.