WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 5e78842

Browse files
committed
Fix rendering in documentation of some default values [skip ci] [ci skip]
1 parent 65968c9 commit 5e78842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

newIDE/app/scripts/lib/ExtensionReferenceGenerator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ const generatePropertiesReferenceTexts = ({
716716
`${padding}- **${property.getLabel() ||
717717
name}** is stored as \`${name}\` (${type}).`,
718718
measurementUnitText ? `Unit is ${measurementUnitText}.` : null,
719-
`Default value is \`${property.getValue()}\`.`,
719+
`Default value is \`${property.getValue().replace(/\n/g, ' ')}\`.`,
720720
]
721721
.filter(Boolean)
722722
.join(' '),

0 commit comments

Comments
 (0)