MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / svg_escape

Function svg_escape

experiments/human_eval/draw_error_analysis_figure.py:304–305  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

302
303
304def svg_escape(text: str) -> str:
305 return text.replace("&", "&amp;").replace("<", "&lt;").replace(">", "&gt;")
306
307
308def write_svg() -> None:

Callers 1

write_svgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected