I don't want an svg file, i want the string. Something like this:
svg_string = <svg width="134" height="32" viewBox="-1 -1 134 32"><path d="M 0 14.3 L 7.169531 14.3 " fill="none" stroke="rgb(0,0,0)" stroke-width="1"></path><text x="0" y="9.962011" font-family="'Segoe UI'" font-size="13.3" textLength="7.169531" fill="rgb(0,0,0)">5</text><text x="0" y="26.26201" font-family="'Segoe UI'" font-size="13.3" textLength="7.169531" fill="rgb(0,0,0)">3</text><path d="M 11 15 L 21 15 " fill="none" stroke="rgb(0,0,0)" stroke-width="1"></path><path d="M 16 9.8 L 16 19.8 " fill="none" stroke="rgb(0,0,0)" stroke-width="1"></path><text style="font-style: italic" x="25.16953" y="18.28633" font-family="'Segoe UI'" font-size="14" textLength="6.371094" fill="rgb(0,0,0)">x</text><path d="M 36 15 L 46 15 " fill="none" stroke="rgb(0,0,0)" stroke-width="1"></path><path d="M 41 9.8 L 41 19.8 " fill="none" stroke="rgb(0,0,0)" stroke-width="1"></path><path d="M 49.54063 14.3 L 56.71016 14.3 " fill="none" stroke="rgb(0,0,0)" stroke-width="1"></path><text x="49.54063" y="9.962011" font-family="'Segoe UI'" font-size="13.3" textLength="7.169531" fill="rgb(0,0,0)">5</text><text style="font-style: italic" x="50.09912" y="26.26201" font-family="'Segoe UI'" font-size="13.3" textLength="6.052539" fill="rgb(0,0,0)">x</text><path d="M 61 15 L 71 15 " fill="none" stroke="rgb(0,0,0)" stroke-width="1"></path><path d="M 66 9.8 L 66 19.8 " fill="none" stroke="rgb(0,0,0)" stroke-width="1"></path><text x="74.71016" y="18.28633" font-family="'Segoe UI'" font-size="14" textLength="7.546875" fill="rgb(0,0,0)">3</text><rect x="85.25703" y="14.8" width="1" height="1" fill="none" stroke="rgb(0,0,0)" stroke-width="1"></rect><text x="89.25703" y="18.28633" font-family="'Segoe UI'" font-size="14" textLength="17.25391" fill="rgb(0,0,255)">sin</text><path d="M 115 8 A 4 7 0 0 0 115 22" fill="none" stroke="rgb(0,100,0)" stroke-width="1"></path><text style="font-style: italic" x="116.173" y="18.28633" font-family="'Segoe UI'" font-size="14" textLength="6.371094" fill="rgb(0,0,0)">x</text><path d="M 124 22 A 4 7 0 0 0 124 8" fill="none" stroke="rgb(0,100,0)" stroke-width="1"></path></svg>
четверг, 17 ноября 2022 г. в 17:01:56 UTC+3, Anton Makarov: