generated from nhcarrigan/template
512e7eec13
Added stripHtml() helper method to ActivityService to remove HTML tags from comment content before creating the preview text. This ensures that comments display as plain text in the activity feed instead of showing raw HTML like "<p>test</p>". The regex pattern /<[^>]*>/g removes all HTML tags whilst preserving the actual text content, which is then trimmed and truncated to 100 characters for the preview. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>