Skip to content

Conversation

@EightRice
Copy link
Collaborator

  • Updated tooltip text from "Allow markup" to "Allow HTML" for better clarity
  • Increased description character limit from 1,500 to 10,000 characters
  • Applies to both community creation and proposal creation forms

This improves the user experience when creating off-chain proposals with HTML-formatted descriptions.

- Updated tooltip text from "Allow markup" to "Allow HTML" for better clarity
- Increased description character limit from 1,500 to 10,000 characters
- Applies to both community creation and proposal creation forms

This improves the user experience when creating off-chain proposals
with HTML-formatted descriptions.
@netlify
Copy link

netlify bot commented Nov 14, 2025

Deploy Preview for tezos-homebase ready!

Name Link
🔨 Latest commit e847843
🔍 Latest deploy log https://app.netlify.com/projects/tezos-homebase/deploys/6916f890be6ad1000891772a
😎 Deploy Preview https://deploy-preview-934--tezos-homebase.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 27 (🔴 down 2 from production)
Accessibility: 91 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: 70 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

- Upgraded from react-html-parser (last updated 2017) to html-react-parser (actively maintained, React 18 compatible)
- Fixes HTML rendering issues in production builds
- Removed whiteSpace: "pre-line" style that was causing excessive spacing with HTML content
- Updated all 6 files that use HTML parsing

This fixes the issue where HTML descriptions weren't rendering correctly in production/deploy previews.
Typography component was flattening block-level HTML elements into inline text.
DescriptionContainer (styled div) now properly renders h2, p, ul, hr, etc.
- Log raw API response in useSinglePoll hook
- Shows description length, HTML tag presence, and first 100 chars
- Will help identify where HTML is being stripped in deploy preview
@EightRice EightRice force-pushed the feat/improve-offchain-proposal-html-support branch from 46455d2 to 82138bb Compare November 14, 2025 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants