浏览代码

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 1 月之前
父节点
当前提交
e9131550b1
共有 1 个文件被更改,包括 1 次插入1 次删除
  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.
 
 	return p_bbcode.dedent()
-			.remove_chars("\t\r")
+			.remove_chars("\r")
 			.strip_edges();
 }