Open platform to collect and prioritize feedback
Fix for images not showing if they are at the beginning of the post content
Anders Larsson08c7cc04dec2
diff --git a/public/pages/Home/components/ShareFeedback.tsx b/public/pages/Home/components/ShareFeedback.tsxindex 84ae1d494..3c96f524c 100644--- a/public/pages/Home/components/ShareFeedback.tsx+++ b/public/pages/Home/components/ShareFeedback.tsx@@ -105,7 +105,7 @@ export const ShareFeedback: React.FC<ShareFeedbackProps> = (props) => {}useEffect(() => {- if (!titleManuallyEdited && !isInitialMount) {+ if (!titleManuallyEdited && !isInitialMount && !description.startsWith(") {// Find newline in the original markdown content for truncationlet newlineIndex = Math.min(description.indexOf("\n"), 80)if (newlineIndex == -1) {@@ -158,12 +158,6 @@ export const ShareFeedback: React.FC<ShareFeedbackProps> = (props) => {const handleDescriptionChange = (value: string) => {setCachedDescription(value)-- // If the description starts with an image attachment, we don't want to set it as the title- if (value.startsWith(") {- return- }-setDescription(value)}