mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-13 09:07:29 +02:00
Fix prettier
This commit is contained in:
parent
d6fb14cfa4
commit
606029b9ff
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class BlogPostLayout extends React.Component {
|
|||
var descLines = this.props.children.trim().split('\n');
|
||||
for (var i = 0; i < descLines.length; i++) {
|
||||
// Don't want blank lines or descriptions that are raw image rendering strings
|
||||
if (descLines[i] && !descLines[i].startsWith("![")) {
|
||||
if (descLines[i] && !descLines[i].startsWith('![')) {
|
||||
return descLines[i];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue