kikocis/auto-code-rover public
Changesets · Branches · Tags · Compare
| Changeset | 7c421ef867a3c6c028c118350c0fffc2bf6be18a400c298f184ea6057d7019dc |
|---|---|
| Author | Martin Mirchev <mirchevmartin2203@gmail.com> · 2024-07-18 17:08 +08:00 |
| Committer | Martin Mirchev <mirchevmartin2203@gmail.com> · 2024-07-18 17:08 +08:00 |
| Parents | eee0f690170f |
1 file changed
modified app/log.py +6 −1
| @@ -5,6 +5,7 @@ | ||
| 5 | 5 | from loguru import logger |
| 6 | 6 | from rich.console import Console |
| 7 | 7 | from rich.markdown import Markdown |
| 8 | +from rich.markup import escape | |
| 8 | 9 | from rich.panel import Panel |
| 9 | 10 | |
| 10 | 11 | |
| @@ -148,7 +149,11 @@ | ||
| 148 | 149 | |
| 149 | 150 | title = "Issue description" |
| 150 | 151 | panel = Panel( |
| 151 | - content, title=title, title_align="left", border_style="red", width=WIDTH | |
| 152 | + escape(content), | |
| 153 | + title=title, | |
| 154 | + title_align="left", | |
| 155 | + border_style="red", | |
| 156 | + width=WIDTH, | |
| 152 | 157 | ) |
| 153 | 158 | console.print(panel) |
| 154 | 159 |