Browse Source
Several docs have terminal input lines written with HTML coloring, like `$ <font color="#4E9A06">fastapi</font> dev`. Termynal animates the input using textContent, so the <font> tags never render on screen, but the Material copy button reads the underlying code and copies the literal markup. Users end up pasting `<font color="#4E9A06">fastapi</font> dev` instead of the command. Strip the HTML wrappers from only the `$` input command lines so the copy button yields the plain command, matching the homepage block which already uses the plain form. The colored output lines below each command are left unchanged. See discussion #15700.pull/15812/head
5 changed files with 5 additions and 5 deletions
Loading…
Reference in new issue