From b70eea89fa634112115fda33a36ab00871f9ce88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Thu, 17 Nov 2016 13:19:14 +0100 Subject: [PATCH] Avoid $parsing errors of angular Even though expressions aren't executed inside textareas, they appear to be parsed by angular, causing a syntax error when including a page. --- app/views/my_projects_overviews/_block_textilizable.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/my_projects_overviews/_block_textilizable.html.erb b/app/views/my_projects_overviews/_block_textilizable.html.erb index 343896532a..adb65a6e90 100644 --- a/app/views/my_projects_overviews/_block_textilizable.html.erb +++ b/app/views/my_projects_overviews/_block_textilizable.html.erb @@ -51,7 +51,7 @@ See doc/COPYRIGHT.md for more details.
<%= styled_label_tag "textile_#{block_name}", t('info_custom_text') %> -
+
<%= styled_text_area_tag "textile_#{block_name}", textile.html_safe, cols: 40, rows: 5, class: 'wiki-edit' %>