diff --git a/doc-generator/doc_formatter/markdown_generator.py b/doc-generator/doc_formatter/markdown_generator.py
index 171cf86d..2b023117 100644
--- a/doc-generator/doc_formatter/markdown_generator.py
+++ b/doc-generator/doc_formatter/markdown_generator.py
@@ -691,7 +691,7 @@ def emit(self):
contents.append(section.get('heading'))
# if there are version numbers in the headings, add an anchor tag for the section using only the section name
if schema_name and not self.markdown_mode == 'slate' and not self.config.get('omit_version_in_headers'):
- contents.append('\n')
+ contents.append(' \n')
if section.get('release_history'):
contents.append(section['release_history'])
@@ -756,7 +756,7 @@ def emit(self):
# add section/schema-specific anchor tag
if schema_name and not self.markdown_mode == 'slate':
- contents.append('\n')
+ contents.append(' \n')
det_info = section['property_details'][detail_name]