allow full markdown in about page
This commit is contained in:
@@ -67,7 +67,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>About you</td>
|
<td>About you</td>
|
||||||
<td>
|
<td>
|
||||||
<%= render partial: "md_editor", locals: {name: "user[about]", content: @user.about, mini: true, options: {disabled: !can_edit?, placeholder: "Tell us something about you ..."}} %>
|
<%= render partial: "md_editor", locals: {name: "user[about]", content: @user.about, mini: false, options: {disabled: !can_edit?, placeholder: "Tell us something about you ..."}} %>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
@@ -86,5 +86,5 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
About:<br>
|
About:<br>
|
||||||
<%= @user.about.blank? ? "<span class=\"no-about\">nothing</span>".html_safe : render_mini_md(@user.about).html_safe %>
|
<%= @user.about.blank? ? "<span class=\"no-about\">nothing</span>".html_safe : render_md(@user.about).html_safe %>
|
||||||
</div>
|
</div>
|
||||||
Reference in New Issue
Block a user