Refactor and use first node start + quote + last node end for the context
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<div class="comment-section">
|
||||
<div class="row">
|
||||
<div class="small-12 medium-10 column legislation-comment">
|
||||
<%= @annotation.context.html_safe || @annotation.quote %>
|
||||
<%= @annotation.context.try(:html_safe).presence || @annotation.quote %>
|
||||
</div>
|
||||
<div class="small-12 medium-2 column legislation-comment">
|
||||
<span class="pull-right">
|
||||
|
||||
Reference in New Issue
Block a user