Sfoglia il codice sorgente

add codeblock indentation back to --dump-extension-api-with-docs

xml codeblock indentation was changed from spaces to tabs but the tabs
were being replaced with empty strings when exported with
--dump-extension-api-with-docs, this is small change so that tab
characters are no longer replaced.
Quentin Quaadgras 4 settimane fa
parent
commit
e9131550b1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      core/extension/extension_api_dump.cpp

+ 1 - 1
core/extension/extension_api_dump.cpp

@@ -96,7 +96,7 @@ static String fix_doc_description(const String &p_bbcode) {
 	// Based on what EditorHelp does.
 	// Based on what EditorHelp does.
 
 
 	return p_bbcode.dedent()
 	return p_bbcode.dedent()
-			.remove_chars("\t\r")
+			.remove_chars("\r")
 			.strip_edges();
 			.strip_edges();
 }
 }