From e7f0aaa651323dd8d82dc9b9c44b2fce08cadff2 Mon Sep 17 00:00:00 2001 From: jomo Date: Tue, 1 Jul 2014 00:04:12 +0200 Subject: [PATCH] allow full markdown in about page --- app/views/users/edit.html.erb | 2 +- app/views/users/show.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb index 36a169e..0a47b64 100644 --- a/app/views/users/edit.html.erb +++ b/app/views/users/edit.html.erb @@ -67,7 +67,7 @@ About you - <%= 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 ..."}} %> diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index c36f027..af645e4 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -86,5 +86,5 @@ About:
- <%= @user.about.blank? ? "nothing".html_safe : render_mini_md(@user.about).html_safe %> + <%= @user.about.blank? ? "nothing".html_safe : render_md(@user.about).html_safe %> \ No newline at end of file