diff --git a/frappe/public/css/hljs.css b/frappe/public/css/hljs.css index a5c21784fa..eb568949c0 100644 --- a/frappe/public/css/hljs.css +++ b/frappe/public/css/hljs.css @@ -18,7 +18,7 @@ Original style from softwaremaniacs.org (c) Ivan Sagalaev '+_("Next")+': {title}

').format(**next_item) - out["content"] = out["content"].replace("{next}", html) + else: + html = "" + + out["content"] = out["content"].replace("{next}", html) def add_hero(out, context): """Add a hero element if specified in content or hooks.