(value: string)
| 227 | } |
| 228 | |
| 229 | public appendText(value: string): MarkdownString { |
| 230 | // escape markdown syntax tokens: http://daringfireball.net/projects/markdown/syntax#backslash |
| 231 | this.value += (this.supportThemeIcons ? escapeCodicons(value) : value) // CodeQL [SM02383] Non production (mock) code used only for tests. |
| 232 | .replace(/[\\`*_{}[\]()#+\-.!]/g, '\\$&') // CodeQL [SM02383] Non production (mock) code used only for tests. |
| 233 | .replace(/\n/, '\n\n'); // CodeQL [SM02383] Non production (mock) code used only for tests. |
| 234 | |
| 235 | return this; |
| 236 | } |
| 237 | |
| 238 | public appendMarkdown(value: string): MarkdownString { |
| 239 | this.value += value; |
nothing calls this directly
no test coverage detected