ActionView::Template::Error: undefined method `match' for nil:NilClass
Sentry Issue: PROJECT-FORUM-R
NoMethodError: undefined method `match' for nil:NilClass
app/service/markdown_renderer_html.rb:8:in `image'
m = alt.match(/(?:(?<width>width=\d+(?:px|%)?);)?(?:(?<height>height=\d+(?:px|%)?);)?(?<alt>.*)/)
app/helpers/markdown_helper.rb:45:in `render'
raw markdown.render(text.to_s).to_s
app/helpers/markdown_helper.rb:45:in `block in safe_markdown_to_html'
raw markdown.render(text.to_s).to_s
app/helpers/markdown_helper.rb:44:in `safe_markdown_to_html'
content_tag(:div, class: 'markdown-display') do
app/views/course_editions/generic_projects/show.html.erb:22:
<p><%= safe_markdown_to_html(@project.last_approved_version.description) %></p>
...
(122 additional frame(s) were not displayed)
ActionView::Template::Error: undefined method `match' for nil:NilClass