Ignoring everything that looks like anchors (<XYZ> & </XYZ>) in templates #3483
Answered
by
JanDeDobbeleer
oxtna
asked this question in
Troubleshoot
|
A couple of days ago I updated oh-my-posh after a long time and a ligature I used for shortening my path ( After a bit of troubleshooting, I found out that anything in angle brackets gets recognised as an anchor (by the regex) and oh-my-posh tries to interpret it as a color, and after it fails to do so, it defaults to some foreground color, skipping the anchor-like text overall. Is this the intended behavior? Edit: Just in case, I realize that Thanks |
Answered by
JanDeDobbeleer
Feb 10, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@oxtna yes, </> is reserved. There's no other way unfortunately.