@topconsultnpm/sdkui-react-beta 6.12.155 → 6.12.156
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -176,7 +176,7 @@ const TMBlogs = (props) => {
|
|
176
176
|
if (blog === undefined)
|
177
177
|
return;
|
178
178
|
const { id, ownerName, creationTime, description } = blog;
|
179
|
-
const cleanDescription = description ? description.replace(/<[^>]*>/g, '') : '';
|
179
|
+
const cleanDescription = description ? description.replace(/<[^>]*>/g, ' ') : '';
|
180
180
|
const formattedText = `${ownerName} (${Globalization.getDateTimeDisplayValue(creationTime)}):\n${cleanDescription}`;
|
181
181
|
let result = [];
|
182
182
|
window.navigator.clipboard.writeText(formattedText)
|