We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31c3385 commit d0c4b65Copy full SHA for d0c4b65
pkg/cheatsheet/generate.go
@@ -222,8 +222,7 @@ func formatBinding(binding *types.Binding) string {
222
}
223
224
// Replace newlines with <br> tags for proper markdown table formatting
225
- tooltip := strings.ReplaceAll(binding.Tooltip, "\n\n", "<br><br>")
226
- tooltip = strings.ReplaceAll(tooltip, "\n", "<br>")
+ tooltip := strings.ReplaceAll(binding.Tooltip, "\n", "<br>")
227
228
// Use backticks for keyboard keys. Two backticks are needed with an inner space
229
// to escape a key that is itself a backtick.
0 commit comments