Error in regex
This commit is contained in:
parent
9e1e89230e
commit
6104a6c521
@ -1,7 +1,8 @@
|
|||||||
|
- # encoding: utf-8
|
||||||
%ul.workshop-previews
|
%ul.workshop-previews
|
||||||
- workshops.each do |w|
|
- workshops.each do |w|
|
||||||
- if w.title
|
- if w.title
|
||||||
%li
|
%li
|
||||||
=link_to view_workshop_path(@this_conference.slug, w.id) do
|
=link_to view_workshop_path(@this_conference.slug, w.id) do
|
||||||
%h4=_!(w.title)
|
%h4=_!(w.title)
|
||||||
%p=_!(w.info || '').gsub(/\n\#+(.*?)\r/s, "\n<strong>\\1</strong>\r").gsub(/[\t ]*\r\n[\t ]*/s, '<br>').html_safe
|
%p=_!(w.info || '').gsub(/\n\#+(.*?)\r/, "\n<strong>\\1</strong>\r").gsub(/[\t ]*\r\n[\t ]*/, '<br>').html_safe
|
||||||
|
Loading…
x
Reference in New Issue
Block a user