``` BUG REPORT: Word Wrap Regression in Minds Opening Message Field SUPPORT EMAIL: [email protected] ================================================================================ SUMMARY ================================================================================ Markdown code blocks in the Minds "Opening Message" field do not word-wrap, causing horizontal overflow/scrolling or vertical compression. The same content in Characters "Description" field renders correctly with proper word wrap. ================================================================================ ENVIRONMENT ================================================================================ - Platform: Venice.ai Web Interface - Affected Feature: Minds (Beta) - Opening Message field - Working Feature: Characters (Stable) - Description field - Browsers Tested: [Add your browser/version here] - Date Reported: 2026-09-29 ================================================================================ ISSUE DESCRIPTION ================================================================================ When markdown code blocks (delimited by triple backticks ``` or triple tildes ~~~) are included in the Minds "Opening Message" field, the text renders as a single horizontal line with overflow scrolling, or compresses into an unreadable thin strip. The expected behavior is natural word-wrapping within the container boundaries. This appears to be a CSS rendering regression where the Minds interface applies `white-space: pre` or `white-space: nowrap` to the entire opening message content when code block delimiters are detected, rather than only applying it to the code block content itself or using `white-space: pre-wrap`. ================================================================================ STEPS TO REPRODUCE ================================================================================ 1. Navigate to Minds (Beta) and create a new Mind 2. In the "Opening Message" field, paste content containing markdown code blocks: Example content: ``` STARTING SETTING: (The USER is Max.) He opens his door to grab the morning paper... ```snapshot Desiree is a short woman. Adult age 19. Fair skin with sun-touched warmth... ``` ``` 3. Save the Mind 4. Observe the Opening Message preview - text overflows horizontally or compresses vertically instead of wrapping 5. For comparison: Paste identical content into a Character's Description field 6. Observe that Characters renders the same content with proper word wrap ================================================================================ EXPECTED BEHAVIOR ================================================================================ - Text should wrap naturally at container boundaries - Code blocks should either: a) Wrap with `white-space: pre-wrap`, OR b) Have horizontal scroll only within the code block, not the entire message - Behavior should match Characters Description field rendering ================================================================================ ACTUAL BEHAVIOR ================================================================================ - Entire opening message renders as unwrapped single line - Horizontal scrollbar appears at bottom of preview - OR: Text compresses to unreadable thin strip (when using tildes) - Container appears to use `overflow-x: scroll` with `white-space: pre` - Issue affects both triple backticks (```) and triple tildes (~~~) ================================================================================ TECHNICAL ANALYSIS ================================================================================ ROOT CAUSE: The Minds preview renderer appears to be treating the entire Opening Message as a single <pre> block or applying `white-space: pre` CSS to the container when code fence delimiters are present. SUSPECTED CSS ISSUE: - Missing or incorrect: `white-space: pre-wrap` or `word-wrap: break-word` - Possible incorrect nesting of <pre> tags around entire message instead of just code block content - Container may be using `display: inline-block` or fixed width constraints CHARACTERS vs MINDS DIFFERENCE: - Characters Description: Likely uses `white-space: normal` or `pre-wrap` - Minds Opening Message: Appears to use `white-space: pre` or `nowrap` ================================================================================ ATTACHMENTS ================================================================================ Screenshots provided showing: 1. Screenshot 1: Opening message with backticks - horizontal overflow 2. Screenshot 2: Opening message with tildes - vertical compression 3. Screenshot 3: Characters description showing same content wrapping correctly ================================================================================ SUGGESTED FIX ================================================================================ Update the Minds Opening Message CSS to match Characters Description: .preview-container pre, .preview-container code { white-space: pre-wrap; word-wrap: break-word; overflow-wrap: break-word; } OR apply code block styling only to content within delimiters, not the entire opening message container. ================================================================================ IMPACT ================================================================================ - Users cannot properly preview long opening messages with formatted content - State tracking systems using code blocks (common in roleplay communities) are unreadable in Minds preview - Forces users to remove formatting, reducing readability ================================================================================ REPORTED BY ================================================================================ UglyDug ```