f
This commit is contained in:
@@ -552,6 +552,9 @@ func (r *DatabaseTableReader) getContentPreview(content string, maxLen int) stri
|
||||
if len(content) <= maxLen {
|
||||
return content
|
||||
}
|
||||
if maxLen > len(content) {
|
||||
maxLen = len(content)
|
||||
}
|
||||
return content[:maxLen] + "..."
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user