diff options
author | Yuri Sizov <yuris@humnom.net> | 2020-03-10 13:41:36 +0300 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2020-04-10 18:42:11 +0300 |
commit | 1ea7295bd21748ac34755cdb96fcba385a206240 (patch) | |
tree | f1d3b63c8f117115b57ecfab53bddf76caad2c16 /modules/mono/editor/bindings_generator.cpp | |
parent | 35c8ec065c00666c68d68964c2753a99ffa20b38 (diff) |
Improve shortcut formatting in docs
Diffstat (limited to 'modules/mono/editor/bindings_generator.cpp')
-rw-r--r-- | modules/mono/editor/bindings_generator.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/mono/editor/bindings_generator.cpp b/modules/mono/editor/bindings_generator.cpp index 71bb8ff851..701eeefc58 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") { |