Skip to content

Commit e913155

Browse files
committed
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.
1 parent 99a39ce commit e913155

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/extension/extension_api_dump.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ static String fix_doc_description(const String &p_bbcode) {
9696
// Based on what EditorHelp does.
9797

9898
return p_bbcode.dedent()
99-
.remove_chars("\t\r")
99+
.remove_chars("\r")
100100
.strip_edges();
101101
}
102102

0 commit comments

Comments
 (0)