Lua functions docs to wiki - escape braces on optional params

This commit is contained in:
adelikat 2018-05-19 16:28:15 -05:00
parent ebd6408315
commit e650f14d24
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ __Types and notation__
sb
.AppendFormat("__{0}.{1}__%%%", func.Library, func.Name)
.AppendLine().AppendLine()
.AppendFormat("* {0} {1}.{2}{3}", func.ReturnType, func.Library, func.Name, func.ParameterList)
.AppendFormat("* {0} {1}.{2}{3}", func.ReturnType, func.Library, func.Name, func.ParameterList.Replace("[", "[[").Replace("]", "]]"))
.AppendLine().AppendLine()
.AppendFormat("* {0}", func.Description)
.AppendLine().AppendLine();