Skip to content

Commit

Permalink
fix: Temporary fix segmentation fault #256
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlin7 committed Mar 21, 2024
1 parent 33b4383 commit 2fae6a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions biscuit/core/components/editors/html/renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ def __init__(self, master, editor: TextEditor, *args, **kwargs) -> None:

def refresh(self, *_):
htmlcontent = self.editor.text.get_all_text()
if '<title>' in htmlcontent and '</title>' not in htmlcontent:
return

self.text.load_html(htmlcontent)
t = self.base.theme
self.text.add_css(f"""
Expand Down

0 comments on commit 2fae6a3

Please sign in to comment.