diff --git a/NBLA/__init__.py b/NBLA/__init__.py index cd260c7..4fee102 100644 --- a/NBLA/__init__.py +++ b/NBLA/__init__.py @@ -4,6 +4,7 @@ from http.cookiejar import MozillaCookieJar from typing import Any, Optional, Union from functools import partial from pathlib import Path +import html import sys import re @@ -77,7 +78,7 @@ class NebulaSubtitle(Subtitle): tag.wrap(soup.new_tag("b")) - text = str(soup) + text = html.unescape(str(soup)) new_subs.append(f"{count}") new_subs.append(f"{caption.start} --> {caption.end}") new_subs.append(f"{text}\n")