zoltantothcom / react-clamp-lines

Responsive clamping component with Read more/Read less buttons built for React.
The Unlicense
146 stars 36 forks source link

HTML text rendering #40

Open Boris-Scharinger opened 3 years ago

Boris-Scharinger commented 3 years ago

Hi there - I need to render text with basic HTML markups (H, b, i, maybe a href) and I wanted to ask what's your perspective of expanding the "text" attribute of CampLines to allow HTML tags? Sanitizing the HTML - I can take care of this before I use the ClampLine element, don't worry.... Thanks, Boris

Loic57 commented 6 months ago

Same here, the text property accepts only string type but for my cases I have a lot of text with , , to insert so I can't use the plugin anymore