{ } Raw JSON

bundles / papyri latest / papyri / directives / raw_handler

function

papyri.directives:raw_handler

source: /papyri/directives.py:423

Signature

def raw_handler(argument: str, options: dict[str, str], content: str) → list[Any]

Summary

Handler for .. raw:: — always drop with a warning.

Extended Summary

Raw HTML/LaTeX/etc. content must never reach the IR — it is a security risk (XSS via raw HTML) and is meaningless outside the target output format.

Aliases

  • papyri.directives.raw_handler