Fixed post summary when inside a notebook.