summaryrefslogtreecommitdiff
path: root/modules/mono
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-04-29 09:40:52 +0200
committerGitHub <noreply@github.com>2020-04-29 09:40:52 +0200
commit41af228b767b8657c51376be77e9a8f1601e05d0 (patch)
tree7b9f1af0bc5a32e1008d3349edc28897e9ca0dd5 /modules/mono
parent2ed231521b125b12fc604f021ee323c008c69c30 (diff)
parent1ea7295bd21748ac34755cdb96fcba385a206240 (diff)
Merge pull request #36960 from pycbouh/docs-improve-shortcuts
Improve shortcut formatting in docs
Diffstat (limited to 'modules/mono')
-rw-r--r--modules/mono/editor/bindings_generator.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/mono/editor/bindings_generator.cpp b/modules/mono/editor/bindings_generator.cpp
index ee92a6234a..bdf9cf965f 100644
--- a/modules/mono/editor/bindings_generator.cpp
+++ b/modules/mono/editor/bindings_generator.cpp
@@ -566,8 +566,12 @@ String BindingsGenerator::bbcode_to_xml(const String &p_bbcode, const TypeInterf
code_tag = true;
pos = brk_end + 1;
tag_stack.push_front(tag);
+ } else if (tag == "kbd") {
+ // keyboard combinations are not supported in xml comments
+ pos = brk_end + 1;
+ tag_stack.push_front(tag);
} else if (tag == "center") {
- // center is alignment not supported in xml comments
+ // center alignment is not supported in xml comments
pos = brk_end + 1;
tag_stack.push_front(tag);
} else if (tag == "br") {