Skip to content

Commit ef1b8b1

Browse files
unnameddthomaspaulmann
authored andcommitted
Add a string replacement to avoid the use of pipes (|) inside of the markdown table
1 parent a7a679b commit ef1b8b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/Toolkit/Sources/ToolkitLibrary/Models/ScriptCommand.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ extension ScriptCommand: MarkdownDescriptionProtocol {
175175
}
176176

177177
if let value = self.details {
178-
details = value
178+
details = value.replacingOccurrences(of: "|", with: ",")
179179
}
180180

181181
let language = Language(self.language).markdownDescription

0 commit comments

Comments
 (0)