What is the best way to: To prevent the inside of the cinnamon bread from leaking out when slicing

OPT: A). Allow the bread loaf to cook through before slicing B). Allow the bread loaf to completely cool through before slicing
Answer:
B).