Skip to content

Commit

Permalink
Avoid cutting suggestions with angular chars
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-el committed Nov 30, 2023
1 parent 86a31ef commit e6907bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ert/gui/ertwidgets/suggestor_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def __init__(self, header, icon, info):
self.setStyleSheet("background-color: white;")

self.icon = icon
info.message = info.message.replace('<', "&lt;").replace('>', "&gt;")
self.lbl = QLabel(
"<b>" + header + "</b>" + info.message + "<p>" + info.location() + "</p>"
)
Expand Down

0 comments on commit e6907bd

Please sign in to comment.