diff --git a/app/com/gitpitch/services/CodeService.java b/app/com/gitpitch/services/CodeService.java index 090bf93..cf3b9d8 100644 --- a/app/com/gitpitch/services/CodeService.java +++ b/app/com/gitpitch/services/CodeService.java @@ -113,14 +113,10 @@ public class CodeService { if(slideTitle != null) { slide = slide.append(MarkdownModel.MD_SPACER) - .append("") - .append(MarkdownModel.MD_SPACER) - .append("") - .append(slideTitle) - .append("") - .append(MarkdownModel.MD_SPACER); + .append("") + .append(slideTitle) + .append("") + .append(MarkdownModel.MD_SPACER); } slide = slide.append(MarkdownModel.MD_CODE_BLOCK_OPEN); diff --git a/app/com/gitpitch/services/GISTService.java b/app/com/gitpitch/services/GISTService.java index b7b12be..ced9b84 100644 --- a/app/com/gitpitch/services/GISTService.java +++ b/app/com/gitpitch/services/GISTService.java @@ -135,11 +135,7 @@ public class GISTService { if(slideTitle != null) { slide = slide.append(MarkdownModel.MD_SPACER) - .append("") - .append(MarkdownModel.MD_SPACER) - .append("") + .append("") .append(slideTitle) .append("") .append(MarkdownModel.MD_SPACER);