Skip to main content

emit_raw_inline

Function emit_raw_inline 

Source
pub fn emit_raw_inline(
    builder: &mut impl InlineSink,
    content: &str,
    backtick_count: usize,
    attr_raw: &str,
)
Expand description

Emit a raw inline span node to the builder.

attr_raw is the raw {=format} source slice (braces included). It is structured into ATTR_* children via emit_attribute_node so the node wraps the original bytes losslessly instead of synthesizing them — any interior whitespace ({ =html }) round-trips byte-for-byte.