summaryrefslogtreecommitdiff
path: root/modules/gdscript/language_server
diff options
context:
space:
mode:
authorgeequlim <geequlim@gmail.com>2019-10-03 14:22:26 +0800
committergeequlim <geequlim@gmail.com>2019-10-03 14:22:26 +0800
commitd1a6964d3965ced647226e0489ca50f1f28aacd2 (patch)
tree007da1ee3ade32fea4773f92be175bc046b372f7 /modules/gdscript/language_server
parent351c45a4612749da81ffa26783d44880aa1edd7a (diff)
Fix codeblock formating to markdown
Diffstat (limited to 'modules/gdscript/language_server')
-rw-r--r--modules/gdscript/language_server/gdscript_extend_parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/language_server/gdscript_extend_parser.cpp b/modules/gdscript/language_server/gdscript_extend_parser.cpp
index 6db8cb2c88..9cd71e9a71 100644
--- a/modules/gdscript/language_server/gdscript_extend_parser.cpp
+++ b/modules/gdscript/language_server/gdscript_extend_parser.cpp
@@ -345,13 +345,13 @@ String ExtendGDScriptParser::marked_documentation(const String &p_bbcode) {
if (block_start != -1) {
code_block_indent = block_start;
in_code_block = true;
- line = "'''gdscript\n";
+ line = "\n";
} else if (in_code_block) {
line = "\t" + line.substr(code_block_indent, line.length());
}
if (in_code_block && line.find("[/codeblock]") != -1) {
- line = "'''\n\n";
+ line = "\n";
in_code_block = false;
}