mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-24 05:36:54 +00:00
Add comment
This commit is contained in:
1 parent
3b61cd355f
commit
643af98ca3
1 file changed
+1
-1
@@ -434,7 +434,7 @@ const CodeEditor = createClass({
|
||||
text = foldPreviewText || `Lines ${from.line+1}-${to.line+1}`;
|
||||
text = text.replace('{', '').trim();
|
||||
|
||||
// Truncate data URLs
|
||||
// Truncate data URLs at `data:`
|
||||
const startOfData = text.indexOf('data:');
|
||||
if(startOfData > 0)
|
||||
maxLength = Math.min(startOfData + 5, maxLength);
|
||||
|
||||
Reference in new issue
Block a user